Version Description
(April 24, 2020) = * [Premium-Feature] Cookie option added to popup template. Now you can hide a popup for a fixed time with the help of the cookie at the click of close button. This is particularly useful to create a Cookie Consent popup. * [Task] Some WordPress themes did not have an "entry-content" class to wrap post content. Hence Pagelayer was unable to find the editable region. Now we have added the wrapper with the class "pagelayer-editable-area" to create an editable region. * [Task] Added a placeholder to the grid gallery widget. * [Task] Added typography option for image caption in the image widget. * [Bug-Fix] Added cursor pointer to button in button widget. * [Bug-Fix] In certain cases, there were some js errors in the action history. This is fixed. * [Bug-Fix] In certain cases, Pagelayer was unable to get the contents of the section from the Pagelayer API. This is fixed. * [Bug-Fix] In the inner row widget the background elements was not working. This is fixed. * [Bug-Fix] In the inner row widget, shape styles was not working. This is fixed. * [Bug-Fix] If zlip compression was on in PHP, ob_gzhandler used to give an error due to which Pagelayer failed to load in some cases. This is fixed.
Release Info
Developer | pagelayer |
Plugin | Page Builder: PageLayer – Drag and Drop website builder |
Version | 1.0.9 |
Comparing to | |
See all releases |
Code changes from version 1.0.8 to 1.0.9
- css/givecss.php +1 -1
- css/pagelayer-frontend.css +1 -0
- init.php +16 -13
- js/givejs.php +1 -1
- js/pagelayer-editor.js +10 -0
- js/pagelayer-frontend.js +8 -3
- js/properties.js +1 -1
- js/simpleParallax.min.js +1 -1
- js/widgets.js +21 -6
- languages/en.json +7 -1
- main/ajax.php +9 -2
- main/live.php +8 -4
- main/shortcode_functions.php +1 -1
- main/shortcodes.php +11 -5
- main/template.php +3 -1
- pagelayer.php +1 -1
- readme.txt +13 -1
@@ -70,7 +70,7 @@ foreach($final as $k => $v){
|
|
70 |
}
|
71 |
|
72 |
// We are zipping if possible
|
73 |
-
if(function_exists('ob_gzhandler')){
|
74 |
ob_start('ob_gzhandler');
|
75 |
}
|
76 |
|
70 |
}
|
71 |
|
72 |
// We are zipping if possible
|
73 |
+
if(function_exists('ob_gzhandler') && !ini_get('zlib.output_compression')){
|
74 |
ob_start('ob_gzhandler');
|
75 |
}
|
76 |
|
@@ -964,6 +964,7 @@ border-radius:5px;
|
|
964 |
display:inline-block;
|
965 |
line-height:1em;
|
966 |
transition:all 0.3s;
|
|
|
967 |
}
|
968 |
|
969 |
.pagelayer-btn-default{
|
964 |
display:inline-block;
|
965 |
line-height:1em;
|
966 |
transition:all 0.3s;
|
967 |
+
cursor: pointer;
|
968 |
}
|
969 |
|
970 |
.pagelayer-btn-default{
|
@@ -5,7 +5,7 @@ if (!defined('ABSPATH')) exit;
|
|
5 |
|
6 |
define('PAGELAYER_BASE', plugin_basename(PAGELAYER_FILE));
|
7 |
define('PAGELAYER_PRO_BASE', 'pagelayer-pro/pagelayer-pro.php');
|
8 |
-
define('PAGELAYER_VERSION', '1.0.
|
9 |
define('PAGELAYER_DIR', dirname(PAGELAYER_FILE));
|
10 |
define('PAGELAYER_SLUG', 'pagelayer');
|
11 |
define('PAGELAYER_URL', plugins_url('', PAGELAYER_FILE));
|
@@ -103,18 +103,6 @@ function pagelayer_load_plugin(){
|
|
103 |
|
104 |
// Load the language
|
105 |
load_plugin_textdomain('pagelayer', false, PAGELAYER_SLUG.'/languages/');
|
106 |
-
|
107 |
-
// Show the promo
|
108 |
-
pagelayer_maybe_promo([
|
109 |
-
'after' => 1,// In days
|
110 |
-
'interval' => 30,// In days
|
111 |
-
'pro_url' => PAGELAYER_PRO_URL,
|
112 |
-
'rating' => 'https://wordpress.org/plugins/pagelayer/#reviews',
|
113 |
-
'twitter' => 'https://twitter.com/pagelayer?status='.rawurlencode('I love #Pagelayer Site Builder by @pagelayer team for my #WordPress site - '.home_url()),
|
114 |
-
'facebook' => 'https://www.facebook.com/pagelayer',
|
115 |
-
'website' => PAGELAYER_WWW_URL,
|
116 |
-
'image' => PAGELAYER_URL.'/images/pagelayer-logo-256.png'
|
117 |
-
]);
|
118 |
|
119 |
// Its premium
|
120 |
if(defined('PAGELAYER_PREMIUM')){
|
@@ -131,6 +119,21 @@ function pagelayer_load_plugin(){
|
|
131 |
|
132 |
// Load the template builder
|
133 |
include_once(PAGELAYER_DIR.'/main/template-builder.php');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
}
|
135 |
|
136 |
}
|
5 |
|
6 |
define('PAGELAYER_BASE', plugin_basename(PAGELAYER_FILE));
|
7 |
define('PAGELAYER_PRO_BASE', 'pagelayer-pro/pagelayer-pro.php');
|
8 |
+
define('PAGELAYER_VERSION', '1.0.9');
|
9 |
define('PAGELAYER_DIR', dirname(PAGELAYER_FILE));
|
10 |
define('PAGELAYER_SLUG', 'pagelayer');
|
11 |
define('PAGELAYER_URL', plugins_url('', PAGELAYER_FILE));
|
103 |
|
104 |
// Load the language
|
105 |
load_plugin_textdomain('pagelayer', false, PAGELAYER_SLUG.'/languages/');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
|
107 |
// Its premium
|
108 |
if(defined('PAGELAYER_PREMIUM')){
|
119 |
|
120 |
// Load the template builder
|
121 |
include_once(PAGELAYER_DIR.'/main/template-builder.php');
|
122 |
+
|
123 |
+
}else{
|
124 |
+
|
125 |
+
// Show the promo
|
126 |
+
pagelayer_maybe_promo([
|
127 |
+
'after' => 1,// In days
|
128 |
+
'interval' => 30,// In days
|
129 |
+
'pro_url' => PAGELAYER_PRO_URL,
|
130 |
+
'rating' => 'https://wordpress.org/plugins/pagelayer/#reviews',
|
131 |
+
'twitter' => 'https://twitter.com/pagelayer?status='.rawurlencode('I love #Pagelayer Site Builder by @pagelayer team for my #WordPress site - '.home_url()),
|
132 |
+
'facebook' => 'https://www.facebook.com/pagelayer',
|
133 |
+
'website' => PAGELAYER_WWW_URL,
|
134 |
+
'image' => PAGELAYER_URL.'/images/pagelayer-logo-256.png'
|
135 |
+
]);
|
136 |
+
|
137 |
}
|
138 |
|
139 |
}
|
@@ -80,7 +80,7 @@ foreach($final as $k => $v){
|
|
80 |
}
|
81 |
|
82 |
// We are zipping if possible
|
83 |
-
if(function_exists('ob_gzhandler')){
|
84 |
ob_start('ob_gzhandler');
|
85 |
}
|
86 |
|
80 |
}
|
81 |
|
82 |
// We are zipping if possible
|
83 |
+
if(function_exists('ob_gzhandler') && !ini_get('zlib.output_compression')){
|
84 |
ob_start('ob_gzhandler');
|
85 |
}
|
86 |
|
@@ -3160,6 +3160,7 @@ function pagelayer_history_action_push(args){
|
|
3160 |
// Remove the second array element if the history_obj_len greater then 100
|
3161 |
if(history_obj_len > 100){
|
3162 |
pagelayer_history_obj['action_data'].splice(1, 1);
|
|
|
3163 |
}
|
3164 |
|
3165 |
// Get current active history action id
|
@@ -4440,9 +4441,18 @@ function pagelayer_add_sections_list_setup(type){
|
|
4440 |
},
|
4441 |
success: function(data) {
|
4442 |
|
|
|
4443 |
try{
|
4444 |
|
4445 |
var data = JSON.parse(data);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4446 |
var cEle = jQuery(data['code']);
|
4447 |
|
4448 |
// Add section before add widget area
|
3160 |
// Remove the second array element if the history_obj_len greater then 100
|
3161 |
if(history_obj_len > 100){
|
3162 |
pagelayer_history_obj['action_data'].splice(1, 1);
|
3163 |
+
pagelayer_history_obj['current_active_item_id'] = pagelayer_history_obj['action_data'].length - 1;
|
3164 |
}
|
3165 |
|
3166 |
// Get current active history action id
|
4441 |
},
|
4442 |
success: function(data) {
|
4443 |
|
4444 |
+
|
4445 |
try{
|
4446 |
|
4447 |
var data = JSON.parse(data);
|
4448 |
+
|
4449 |
+
if(!pagelayer_empty(data['error'])){
|
4450 |
+
alert('Error getting the section');
|
4451 |
+
mEle.find('.pagelayer-add-section-modal-overlay').hide();
|
4452 |
+
mEle.hide();
|
4453 |
+
return;
|
4454 |
+
}
|
4455 |
+
|
4456 |
var cEle = jQuery(data['code']);
|
4457 |
|
4458 |
// Add section before add widget area
|
@@ -46,7 +46,7 @@ jQuery(document).ready(function(){
|
|
46 |
pagelayer_pl_grid_lightbox(jQuery(this));
|
47 |
});
|
48 |
|
49 |
-
jQuery('.pagelayer-row, .pagelayer-
|
50 |
pagelayer_pl_row_video(jQuery(this));
|
51 |
});
|
52 |
|
@@ -135,7 +135,12 @@ function pagelayer_get_media_mode(){
|
|
135 |
// Row background video and parallax
|
136 |
function pagelayer_pl_row_video(jEle){
|
137 |
|
138 |
-
var vEle = jEle.
|
|
|
|
|
|
|
|
|
|
|
139 |
|
140 |
var setup = vEle.attr('pagelayer-setup');
|
141 |
if(setup && setup.length > 0){
|
@@ -167,7 +172,7 @@ function pagelayer_pl_row_parallax(jEle){
|
|
167 |
return true;
|
168 |
}
|
169 |
|
170 |
-
new
|
171 |
jEle.attr('pagelayer-setup', 1);
|
172 |
}
|
173 |
|
46 |
pagelayer_pl_grid_lightbox(jQuery(this));
|
47 |
});
|
48 |
|
49 |
+
jQuery('.pagelayer-row, .pagelayer-inner_row, .pagelayer-col').each(function(){
|
50 |
pagelayer_pl_row_video(jQuery(this));
|
51 |
});
|
52 |
|
135 |
// Row background video and parallax
|
136 |
function pagelayer_pl_row_video(jEle){
|
137 |
|
138 |
+
var vEle = jEle.children('.pagelayer-background-video');
|
139 |
+
|
140 |
+
// Not a video in the element
|
141 |
+
if(vEle.length < 1){
|
142 |
+
return true;
|
143 |
+
}
|
144 |
|
145 |
var setup = vEle.attr('pagelayer-setup');
|
146 |
if(setup && setup.length > 0){
|
172 |
return true;
|
173 |
}
|
174 |
|
175 |
+
new pagelayerParallax(jEle);
|
176 |
jEle.attr('pagelayer-setup', 1);
|
177 |
}
|
178 |
|
@@ -2721,7 +2721,7 @@ function pagelayer_elp_typography(row, prop){
|
|
2721 |
'deco-line' : ['', 'None', 'Overline', 'Line-through', 'Underline', 'Underline Overline'],
|
2722 |
'deco-style' : ['Solid', 'Double', 'Dotted', 'Dashed', 'Wavy'],
|
2723 |
'transform' : ['', 'Capitalize', 'Uppercase', 'Lowercase'],
|
2724 |
-
'fonts' : ['', 'ABeeZee', 'Abel', 'Abhaya Libre', 'Abril Fatface', 'Aclonica', 'Acme', 'Actor', 'Adamina', 'Advent Pro', 'Aguafina Script', 'Akronim', 'Aladin', 'Aldrich', 'Alef', 'Alegreya', 'Alegreya SC', 'Alegreya Sans', 'Alegreya Sans SC', 'Aleo', 'Alex Brush', 'Alfa Slab One', 'Alice', 'Alike', 'Alike Angular', 'Allan', 'Allerta', 'Allerta Stencil', 'Allura', 'Almendra', 'Almendra Display', 'Almendra SC', 'Amarante', 'Amaranth', 'Amatic SC', 'Amethysta', 'Amiko', 'Amiri', 'Amita', 'Anaheim', 'Andada', 'Andika', 'Angkor', 'Annie Use Your Telescope', 'Anonymous Pro', 'Antic', 'Antic Didone', 'Antic Slab', 'Anton', 'Arapey', 'Arbutus', 'Arbutus Slab', 'Architects Daughter', 'Archivo', 'Archivo Black', 'Archivo Narrow', 'Aref Ruqaa', 'Arima Madurai', 'Arimo', 'Arizonia', 'Armata', 'Arsenal', 'Artifika', 'Arvo', 'Arya', 'Asap', 'Asap Condensed', 'Asar', 'Asset', 'Assistant', 'Astloch', 'Asul', 'Athiti', 'Atma', 'Atomic Age', 'Aubrey', 'Audiowide', 'Autour One', 'Average', 'Average Sans', 'Averia Gruesa Libre', 'Averia Libre', 'Averia Sans Libre', 'Averia Serif Libre', 'B612', 'B612 Mono', 'Bad Script', 'Bahiana', 'Bai Jamjuree', 'Baloo', 'Baloo Bhai', 'Baloo Bhaijaan', 'Baloo Bhaina', 'Baloo Chettan', 'Baloo Da', 'Baloo Paaji', 'Baloo Tamma', 'Baloo Tammudu', 'Baloo Thambi', 'Balthazar', 'Bangers', 'Barlow', 'Barlow Condensed', 'Barlow Semi Condensed', 'Barrio', 'Basic', 'Battambang', 'Baumans', 'Bayon', 'Belgrano', 'Bellefair', 'Belleza', 'BenchNine', 'Bentham', 'Berkshire Swash', 'Bevan', 'Bigelow Rules', 'Bigshot One', 'Bilbo', 'Bilbo Swash Caps', 'BioRhyme', 'BioRhyme Expanded', 'Biryani', 'Bitter', 'Black And White Picture', 'Black Han Sans', 'Black Ops One', 'Bokor', 'Bonbon', 'Boogaloo', 'Bowlby One', 'Bowlby One SC', 'Brawler', 'Bree Serif', 'Bubblegum Sans', 'Bubbler One', 'Buda', 'Buenard', 'Bungee', 'Bungee Hairline', 'Bungee Inline', 'Bungee Outline', 'Bungee Shade', 'Butcherman', 'Butterfly Kids', 'Cabin', 'Cabin Condensed', 'Cabin Sketch', 'Caesar Dressing', 'Cagliostro', 'Cairo', 'Calligraffitti', 'Cambay', 'Cambo', 'Candal', 'Cantarell', 'Cantata One', 'Cantora One', 'Capriola', 'Cardo', 'Carme', 'Carrois Gothic', 'Carrois Gothic SC', 'Carter One', 'Catamaran', 'Caudex', 'Caveat', 'Caveat Brush', 'Cedarville Cursive', 'Ceviche One', 'Chakra Petch', 'Changa', 'Changa One', 'Chango', 'Charm', 'Charmonman', 'Chathura', 'Chau Philomene One', 'Chela One', 'Chelsea Market', 'Chenla', 'Cherry Cream Soda', 'Cherry Swash', 'Chewy', 'Chicle', 'Chivo', 'Chonburi', 'Cinzel', 'Cinzel Decorative', 'Clicker Script', 'Coda', 'Coda Caption', 'Codystar', 'Coiny', 'Combo', 'Comfortaa', 'Coming Soon', 'Concert One', 'Condiment', 'Content', 'Contrail One', 'Convergence', 'Cookie', 'Copse', 'Corben', 'Cormorant', 'Cormorant Garamond', 'Cormorant Infant', 'Cormorant SC', 'Cormorant Unicase', 'Cormorant Upright', 'Courgette', 'Cousine', 'Coustard', 'Covered By Your Grace', 'Crafty Girls', 'Creepster', 'Crete Round', 'Crimson Text', 'Croissant One', 'Crushed', 'Cuprum', 'Cute Font', 'Cutive', 'Cutive Mono', 'Damion', 'Dancing Script', 'Dangrek', 'David Libre', 'Dawning of a New Day', 'Days One', 'Dekko', 'Delius', 'Delius Swash Caps', 'Delius Unicase', 'Della Respira', 'Denk One', 'Devonshire', 'Dhurjati', 'Didact Gothic', 'Diplomata', 'Diplomata SC', 'Do Hyeon', 'Dokdo', 'Domine', 'Donegal One', 'Doppio One', 'Dorsa', 'Dosis', 'Dr Sugiyama', 'Duru Sans', 'Dynalight', 'EB Garamond', 'Eagle Lake', 'East Sea Dokdo', 'Eater', 'Economica', 'Eczar', 'El Messiri', 'Electrolize', 'Elsie', 'Elsie Swash Caps', 'Emblema One', 'Emilys Candy', 'Encode Sans', 'Encode Sans Condensed', 'Encode Sans Expanded', 'Encode Sans Semi Condensed', 'Encode Sans Semi Expanded', 'Engagement', 'Englebert', 'Enriqueta', 'Erica One', 'Esteban', 'Euphoria Script', 'Ewert', 'Exo', 'Exo 2', 'Expletus Sans', 'Fahkwang', 'Fanwood Text', 'Farsan', 'Fascinate', 'Fascinate Inline', 'Faster One', 'Fasthand', 'Fauna One', 'Faustina', 'Federant', 'Federo', 'Felipa', 'Fenix', 'Finger Paint', 'Fira Mono', 'Fira Sans', 'Fira Sans Condensed', 'Fira Sans Extra Condensed', 'Fjalla One', 'Fjord One', 'Flamenco', 'Flavors', 'Fondamento', 'Fontdiner Swanky', 'Forum', 'Francois One', 'Frank Ruhl Libre', 'Freckle Face', 'Fredericka the Great', 'Fredoka One', 'Freehand', 'Fresca', 'Frijole', 'Fruktur', 'Fugaz One', 'GFS Didot', 'GFS Neohellenic', 'Gabriela', 'Gaegu', 'Gafata', 'Galada', 'Galdeano', 'Galindo', 'Gamja Flower', 'Gentium Basic', 'Gentium Book Basic', 'Geo', 'Geostar', 'Geostar Fill', 'Germania One', 'Gidugu', 'Gilda Display', 'Give You Glory', 'Glass Antiqua', 'Glegoo', 'Gloria Hallelujah', 'Goblin One', 'Gochi Hand', 'Gorditas', 'Gothic A1', 'Goudy Bookletter 1911', 'Graduate', 'Grand Hotel', 'Gravitas One', 'Great Vibes', 'Griffy', 'Gruppo', 'Gudea', 'Gugi', 'Gurajada', 'Habibi', 'Halant', 'Hammersmith One', 'Hanalei', 'Hanalei Fill', 'Handlee', 'Hanuman', 'Happy Monkey', 'Harmattan', 'Headland One', 'Heebo', 'Henny Penny', 'Herr Von Muellerhoff', 'Hi Melody', 'Hind', 'Hind Guntur', 'Hind Madurai', 'Hind Siliguri', 'Hind Vadodara', 'Holtwood One SC', 'Homemade Apple', 'Homenaje', 'IBM Plex Mono', 'IBM Plex Sans', 'IBM Plex Sans Condensed', 'IBM Plex Serif', 'IM Fell DW Pica', 'IM Fell DW Pica SC', 'IM Fell Double Pica', 'IM Fell Double Pica SC', 'IM Fell English', 'IM Fell English SC', 'IM Fell French Canon', 'IM Fell French Canon SC', 'IM Fell Great Primer', 'IM Fell Great Primer SC', 'Iceberg', 'Iceland', 'Imprima', 'Inconsolata', 'Inder', 'Indie Flower', 'Inika', 'Inknut Antiqua', 'Irish Grover', 'Istok Web', 'Italiana', 'Italianno', 'Itim', 'Jacques Francois', 'Jacques Francois Shadow', 'Jaldi', 'Jim Nightshade', 'Jockey One', 'Jolly Lodger', 'Jomhuria', 'Josefin Sans', 'Josefin Slab', 'Joti One', 'Jua', 'Judson', 'Julee', 'Julius Sans One', 'Junge', 'Jura', 'Just Another Hand', 'Just Me Again Down Here', 'K2D', 'Kadwa', 'Kalam', 'Kameron', 'Kanit', 'Kantumruy', 'Karla', 'Karma', 'Katibeh', 'Kaushan Script', 'Kavivanar', 'Kavoon', 'Kdam Thmor', 'Keania One', 'Kelly Slab', 'Kenia', 'Khand', 'Khmer', 'Khula', 'Kirang Haerang', 'Kite One', 'Knewave', 'KoHo', 'Kodchasan', 'Kosugi', 'Kosugi Maru', 'Kotta One', 'Koulen', 'Kranky', 'Kreon', 'Kristi', 'Krona One', 'Krub', 'Kumar One', 'Kumar One Outline', 'Kurale', 'La Belle Aurore', 'Laila', 'Lakki Reddy', 'Lalezar', 'Lancelot', 'Lateef', 'Lato', 'League Script', 'Leckerli One', 'Ledger', 'Lekton', 'Lemon', 'Lemonada', 'Libre Barcode 128', 'Libre Barcode 128 Text', 'Libre Barcode 39', 'Libre Barcode 39 Extended', 'Libre Barcode 39 Extended Text', 'Libre Barcode 39 Text', 'Libre Baskerville', 'Libre Franklin', 'Life Savers', 'Lilita One', 'Lily Script One', 'Limelight', 'Linden Hill', 'Lobster', 'Lobster Two', 'Londrina Outline', 'Londrina Shadow', 'Londrina Sketch', 'Londrina Solid', 'Lora', 'Love Ya Like A Sister', 'Loved by the King', 'Lovers Quarrel', 'Luckiest Guy', 'Lusitana', 'Lustria', 'M PLUS 1p', 'M PLUS Rounded 1c', 'Macondo', 'Macondo Swash Caps', 'Mada', 'Magra', 'Maiden Orange', 'Maitree', 'Major Mono Display', 'Mako', 'Mali', 'Mallanna', 'Mandali', 'Manuale', 'Marcellus', 'Marcellus SC', 'Marck Script', 'Margarine', 'Markazi Text', 'Marko One', 'Marmelad', 'Martel', 'Martel Sans', 'Marvel', 'Mate', 'Mate SC', 'Maven Pro', 'McLaren', 'Meddon', 'MedievalSharp', 'Medula One', 'Meera Inimai', 'Megrim', 'Meie Script', 'Merienda', 'Merienda One', 'Merriweather', 'Merriweather Sans', 'Metal', 'Metal Mania', 'Metamorphous', 'Metrophobic', 'Michroma', 'Milonga', 'Miltonian', 'Miltonian Tattoo', 'Mina', 'Miniver', 'Miriam Libre', 'Mirza', 'Miss Fajardose', 'Mitr', 'Modak', 'Modern Antiqua', 'Mogra', 'Molengo', 'Molle', 'Monda', 'Monofett', 'Monoton', 'Monsieur La Doulaise', 'Montaga', 'Montez', 'Montserrat', 'Montserrat Alternates', 'Montserrat Subrayada', 'Moul', 'Moulpali', 'Mountains of Christmas', 'Mouse Memoirs', 'Mr Bedfort', 'Mr Dafoe', 'Mr De Haviland', 'Mrs Saint Delafield', 'Mrs Sheppards', 'Mukta', 'Mukta Mahee', 'Mukta Malar', 'Mukta Vaani', 'Muli', 'Mystery Quest', 'NTR', 'Nanum Brush Script', 'Nanum Gothic', 'Nanum Gothic Coding', 'Nanum Myeongjo', 'Nanum Pen Script', 'Neucha', 'Neuton', 'New Rocker', 'News Cycle', 'Niconne', 'Niramit', 'Nixie One', 'Nobile', 'Nokora', 'Norican', 'Nosifer', 'Notable', 'Nothing You Could Do', 'Noticia Text', 'Noto Sans', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans SC', 'Noto Sans TC', 'Noto Serif', 'Noto Serif JP', 'Noto Serif KR', 'Noto Serif SC', 'Noto Serif TC', 'Nova Cut', 'Nova Flat', 'Nova Mono', 'Nova Oval', 'Nova Round', 'Nova Script', 'Nova Slim', 'Nova Square', 'Numans', 'Nunito', 'Nunito Sans', 'Odor Mean Chey', 'Offside', 'Old Standard TT', 'Oldenburg', 'Oleo Script', 'Oleo Script Swash Caps', 'Open Sans', 'Open Sans Condensed', 'Oranienbaum', 'Orbitron', 'Oregano', 'Orienta', 'Original Surfer', 'Oswald', 'Over the Rainbow', 'Overlock', 'Overlock SC', 'Overpass', 'Overpass Mono', 'Ovo', 'Oxygen', 'Oxygen Mono', 'PT Mono', 'PT Sans', 'PT Sans Caption', 'PT Sans Narrow', 'PT Serif', 'PT Serif Caption', 'Pacifico', 'Padauk', 'Palanquin', 'Palanquin Dark', 'Pangolin', 'Paprika', 'Parisienne', 'Passero One', 'Passion One', 'Pathway Gothic One', 'Patrick Hand', 'Patrick Hand SC', 'Pattaya', 'Patua One', 'Pavanam', 'Paytone One', 'Peddana', 'Peralta', 'Permanent Marker', 'Petit Formal Script', 'Petrona', 'Philosopher', 'Piedra', 'Pinyon Script', 'Pirata One', 'Plaster', 'Play', 'Playball', 'Playfair Display', 'Playfair Display SC', 'Podkova', 'Poiret One', 'Poller One', 'Poly', 'Pompiere', 'Pontano Sans', 'Poor Story', 'Poppins', 'Port Lligat Sans', 'Port Lligat Slab', 'Pragati Narrow', 'Prata', 'Preahvihear', 'Press Start 2P', 'Pridi', 'Princess Sofia', 'Prociono', 'Prompt', 'Prosto One', 'Proza Libre', 'Puritan', 'Purple Purse', 'Quando', 'Quantico', 'Quattrocento', 'Quattrocento Sans', 'Questrial', 'Quicksand', 'Quintessential', 'Qwigley', 'Racing Sans One', 'Radley', 'Rajdhani', 'Rakkas', 'Raleway', 'Raleway Dots', 'Ramabhadra', 'Ramaraja', 'Rambla', 'Rammetto One', 'Ranchers', 'Rancho', 'Ranga', 'Rasa', 'Rationale', 'Ravi Prakash', 'Redressed', 'Reem Kufi', 'Reenie Beanie', 'Revalia', 'Rhodium Libre', 'Ribeye', 'Ribeye Marrow', 'Righteous', 'Risque', 'Roboto', 'Roboto Condensed', 'Roboto Mono', 'Roboto Slab', 'Rochester', 'Rock Salt', 'Rokkitt', 'Romanesco', 'Ropa Sans', 'Rosario', 'Rosarivo', 'Rouge Script', 'Rozha One', 'Rubik', 'Rubik Mono One', 'Ruda', 'Rufina', 'Ruge Boogie', 'Ruluko', 'Rum Raisin', 'Ruslan Display', 'Russo One', 'Ruthie', 'Rye', 'Sacramento', 'Sahitya', 'Sail', 'Saira', 'Saira Condensed', 'Saira Extra Condensed', 'Saira Semi Condensed', 'Salsa', 'Sanchez', 'Sancreek', 'Sansita', 'Sarabun', 'Sarala', 'Sarina', 'Sarpanch', 'Satisfy', 'Sawarabi Gothic', 'Sawarabi Mincho', 'Scada', 'Scheherazade', 'Schoolbell', 'Scope One', 'Seaweed Script', 'Secular One', 'Sedgwick Ave', 'Sedgwick Ave Display', 'Sevillana', 'Seymour One', 'Shadows Into Light', 'Shadows Into Light Two', 'Shanti', 'Share', 'Share Tech', 'Share Tech Mono', 'Shojumaru', 'Short Stack', 'Shrikhand', 'Siemreap', 'Sigmar One', 'Signika', 'Signika Negative', 'Simonetta', 'Sintony', 'Sirin Stencil', 'Six Caps', 'Skranji', 'Slabo 13px', 'Slabo 27px', 'Slackey', 'Smokum', 'Smythe', 'Sniglet', 'Snippet', 'Snowburst One', 'Sofadi One', 'Sofia', 'Song Myung', 'Sonsie One', 'Sorts Mill Goudy', 'Source Code Pro', 'Source Sans Pro', 'Source Serif Pro', 'Space Mono', 'Special Elite', 'Spectral', 'Spectral SC', 'Spicy Rice', 'Spinnaker', 'Spirax', 'Squada One', 'Sree Krushnadevaraya', 'Sriracha', 'Srisakdi', 'Staatliches', 'Stalemate', 'Stalinist One', 'Stardos Stencil', 'Stint Ultra Condensed', 'Stint Ultra Expanded', 'Stoke', 'Strait', 'Stylish', 'Sue Ellen Francisco', 'Suez One', 'Sumana', 'Sunflower', 'Sunshiney', 'Supermercado One', 'Sura', 'Suranna', 'Suravaram', 'Suwannaphum', 'Swanky and Moo Moo', 'Syncopate', 'Tajawal', 'Tangerine', 'Taprom', 'Tauri', 'Taviraj', 'Teko', 'Telex', 'Tenali Ramakrishna', 'Tenor Sans', 'Text Me One', 'Thasadith', 'The Girl Next Door', 'Tienne', 'Tillana', 'Timmana', 'Tinos', 'Titan One', 'Titillium Web', 'Trade Winds', 'Trirong', 'Trocchi', 'Trochut', 'Trykker', 'Tulpen One', 'Ubuntu', 'Ubuntu Condensed', 'Ubuntu Mono', 'Ultra', 'Uncial Antiqua', 'Underdog', 'Unica One', 'UnifrakturCook', 'UnifrakturMaguntia', 'Unkempt', 'Unlock', 'Unna', 'VT323', 'Vampiro One', 'Varela', 'Varela Round', 'Vast Shadow', 'Vesper Libre', 'Vibur', 'Vidaloka', 'Viga', 'Voces', 'Volkhov', 'Vollkorn', 'Vollkorn SC', 'Voltaire', 'Waiting for the Sunrise', 'Wallpoet', 'Walter Turncoat', 'Warnes', 'Wellfleet', 'Wendy One', 'Wire One', 'Work Sans', 'Yanone Kaffeesatz', 'Yantramanav', 'Yatra One', 'Yellowtail', 'Yeon Sung', 'Yeseva One', 'Yesteryear', 'Yrsa', 'ZCOOL KuaiLe', 'ZCOOL QingKe HuangYou', 'ZCOOL XiaoWei', 'Zeyada', 'Zilla Slab', 'Zilla Slab Highlight']
|
2725 |
}
|
2726 |
|
2727 |
var option = function(val, setVal){
|
2721 |
'deco-line' : ['', 'None', 'Overline', 'Line-through', 'Underline', 'Underline Overline'],
|
2722 |
'deco-style' : ['Solid', 'Double', 'Dotted', 'Dashed', 'Wavy'],
|
2723 |
'transform' : ['', 'Capitalize', 'Uppercase', 'Lowercase'],
|
2724 |
+
'fonts' : ['', 'ABeeZee', 'Abel', 'Abhaya Libre', 'Abril Fatface', 'Aclonica', 'Acme', 'Actor', 'Adamina', 'Advent Pro', 'Aguafina Script', 'Akronim', 'Aladin', 'Aldrich', 'Alef', 'Alegreya', 'Alegreya SC', 'Alegreya Sans', 'Alegreya Sans SC', 'Aleo', 'Alex Brush', 'Alfa Slab One', 'Alice', 'Alike', 'Alike Angular', 'Allan', 'Allerta', 'Allerta Stencil', 'Allura', 'Almendra', 'Almendra Display', 'Almendra SC', 'Amarante', 'Amaranth', 'Amatic SC', 'Amethysta', 'Amiko', 'Amiri', 'Amita', 'Anaheim', 'Andada', 'Andika', 'Angkor', 'Annie Use Your Telescope', 'Anonymous Pro', 'Antic', 'Antic Didone', 'Antic Slab', 'Anton', 'Arapey', 'Arbutus', 'Arbutus Slab', 'Architects Daughter', 'Archivo', 'Archivo Black', 'Archivo Narrow', 'Aref Ruqaa', 'Arima Madurai', 'Arimo', 'Arizonia', 'Armata', 'Arsenal', 'Artifika', 'Arvo', 'Arya', 'Asap', 'Asap Condensed', 'Asar', 'Asset', 'Assistant', 'Astloch', 'Asul', 'Athiti', 'Atma', 'Atomic Age', 'Aubrey', 'Audiowide', 'Autour One', 'Average', 'Average Sans', 'Averia Gruesa Libre', 'Averia Libre', 'Averia Sans Libre', 'Averia Serif Libre', 'B612', 'B612 Mono', 'Bad Script', 'Bahiana', 'Bai Jamjuree', 'Baloo', 'Baloo Bhai', 'Baloo Bhaijaan', 'Baloo Bhaina', 'Baloo Chettan', 'Baloo Da', 'Baloo Paaji', 'Baloo Tamma', 'Baloo Tammudu', 'Baloo Thambi', 'Balthazar', 'Bangers', 'Barlow', 'Barlow Condensed', 'Barlow Semi Condensed', 'Barrio', 'Basic', 'Battambang', 'Baumans', 'Bayon', 'Belgrano', 'Bellefair', 'Belleza', 'Bellota', 'BenchNine', 'Bentham', 'Berkshire Swash', 'Bevan', 'Bigelow Rules', 'Bigshot One', 'Bilbo', 'Bilbo Swash Caps', 'BioRhyme', 'BioRhyme Expanded', 'Biryani', 'Bitter', 'Black And White Picture', 'Black Han Sans', 'Black Ops One', 'Bokor', 'Bonbon', 'Boogaloo', 'Bowlby One', 'Bowlby One SC', 'Brawler', 'Bree Serif', 'Bubblegum Sans', 'Bubbler One', 'Buda', 'Buenard', 'Bungee', 'Bungee Hairline', 'Bungee Inline', 'Bungee Outline', 'Bungee Shade', 'Butcherman', 'Butterfly Kids', 'Cabin', 'Cabin Condensed', 'Cabin Sketch', 'Caesar Dressing', 'Cagliostro', 'Cairo', 'Calligraffitti', 'Cambay', 'Cambo', 'Candal', 'Cantarell', 'Cantata One', 'Cantora One', 'Capriola', 'Cardo', 'Carme', 'Carrois Gothic', 'Carrois Gothic SC', 'Carter One', 'Catamaran', 'Caudex', 'Caveat', 'Caveat Brush', 'Cedarville Cursive', 'Ceviche One', 'Chakra Petch', 'Changa', 'Changa One', 'Chango', 'Charm', 'Charmonman', 'Chathura', 'Chau Philomene One', 'Chela One', 'Chelsea Market', 'Chenla', 'Cherry Cream Soda', 'Cherry Swash', 'Chewy', 'Chicle', 'Chivo', 'Chonburi', 'Cinzel', 'Cinzel Decorative', 'Clicker Script', 'Coda', 'Coda Caption', 'Codystar', 'Coiny', 'Combo', 'Comfortaa', 'Coming Soon', 'Concert One', 'Condiment', 'Content', 'Contrail One', 'Convergence', 'Cookie', 'Copse', 'Corben', 'Cormorant', 'Cormorant Garamond', 'Cormorant Infant', 'Cormorant SC', 'Cormorant Unicase', 'Cormorant Upright', 'Courgette', 'Cousine', 'Coustard', 'Covered By Your Grace', 'Crafty Girls', 'Creepster', 'Crete Round', 'Crimson Text', 'Croissant One', 'Crushed', 'Cuprum', 'Cute Font', 'Cutive', 'Cutive Mono', 'Damion', 'Dancing Script', 'Dangrek', 'David Libre', 'Dawning of a New Day', 'Days One', 'Dekko', 'Delius', 'Delius Swash Caps', 'Delius Unicase', 'Della Respira', 'Denk One', 'Devonshire', 'Dhurjati', 'Didact Gothic', 'Diplomata', 'Diplomata SC', 'Do Hyeon', 'Dokdo', 'Domine', 'Donegal One', 'Doppio One', 'Dorsa', 'Dosis', 'Dr Sugiyama', 'Duru Sans', 'Dynalight', 'EB Garamond', 'Eagle Lake', 'East Sea Dokdo', 'Eater', 'Economica', 'Eczar', 'El Messiri', 'Electrolize', 'Elsie', 'Elsie Swash Caps', 'Emblema One', 'Emilys Candy', 'Encode Sans', 'Encode Sans Condensed', 'Encode Sans Expanded', 'Encode Sans Semi Condensed', 'Encode Sans Semi Expanded', 'Engagement', 'Englebert', 'Enriqueta', 'Erica One', 'Esteban', 'Euphoria Script', 'Ewert', 'Exo', 'Exo 2', 'Expletus Sans', 'Fahkwang', 'Fanwood Text', 'Farsan', 'Fascinate', 'Fascinate Inline', 'Faster One', 'Fasthand', 'Fauna One', 'Faustina', 'Federant', 'Federo', 'Felipa', 'Fenix', 'Finger Paint', 'Fira Mono', 'Fira Sans', 'Fira Sans Condensed', 'Fira Sans Extra Condensed', 'Fjalla One', 'Fjord One', 'Flamenco', 'Flavors', 'Fondamento', 'Fontdiner Swanky', 'Forum', 'Francois One', 'Frank Ruhl Libre', 'Freckle Face', 'Fredericka the Great', 'Fredoka One', 'Freehand', 'Fresca', 'Frijole', 'Fruktur', 'Fugaz One', 'GFS Didot', 'GFS Neohellenic', 'Gabriela', 'Gaegu', 'Gafata', 'Galada', 'Galdeano', 'Galindo', 'Gamja Flower', 'Gentium Basic', 'Gentium Book Basic', 'Geo', 'Geostar', 'Geostar Fill', 'Germania One', 'Gidugu', 'Gilda Display', 'Give You Glory', 'Glass Antiqua', 'Glegoo', 'Gloria Hallelujah', 'Goblin One', 'Gochi Hand', 'Gorditas', 'Gothic A1', 'Goudy Bookletter 1911', 'Graduate', 'Grand Hotel', 'Gravitas One', 'Great Vibes', 'Griffy', 'Gruppo', 'Gudea', 'Gugi', 'Gurajada', 'Habibi', 'Halant', 'Hammersmith One', 'Hanalei', 'Hanalei Fill', 'Handlee', 'Hanuman', 'Happy Monkey', 'Harmattan', 'Headland One', 'Heebo', 'Henny Penny', 'Herr Von Muellerhoff', 'Hi Melody', 'Hind', 'Hind Guntur', 'Hind Madurai', 'Hind Siliguri', 'Hind Vadodara', 'Holtwood One SC', 'Homemade Apple', 'Homenaje', 'IBM Plex Mono', 'IBM Plex Sans', 'IBM Plex Sans Condensed', 'IBM Plex Serif', 'IM Fell DW Pica', 'IM Fell DW Pica SC', 'IM Fell Double Pica', 'IM Fell Double Pica SC', 'IM Fell English', 'IM Fell English SC', 'IM Fell French Canon', 'IM Fell French Canon SC', 'IM Fell Great Primer', 'IM Fell Great Primer SC', 'Iceberg', 'Iceland', 'Imprima', 'Inconsolata', 'Inder', 'Indie Flower', 'Inika', 'Inknut Antiqua', 'Irish Grover', 'Istok Web', 'Italiana', 'Italianno', 'Itim', 'Jacques Francois', 'Jacques Francois Shadow', 'Jaldi', 'Jim Nightshade', 'Jockey One', 'Jolly Lodger', 'Jomhuria', 'Josefin Sans', 'Josefin Slab', 'Joti One', 'Jua', 'Judson', 'Julee', 'Julius Sans One', 'Junge', 'Jura', 'Just Another Hand', 'Just Me Again Down Here', 'K2D', 'Kadwa', 'Kalam', 'Kameron', 'Kanit', 'Kantumruy', 'Karla', 'Karma', 'Katibeh', 'Kaushan Script', 'Kavivanar', 'Kavoon', 'Kdam Thmor', 'Keania One', 'Kelly Slab', 'Kenia', 'Khand', 'Khmer', 'Khula', 'Kirang Haerang', 'Kite One', 'Knewave', 'KoHo', 'Kodchasan', 'Kosugi', 'Kosugi Maru', 'Kotta One', 'Koulen', 'Kranky', 'Kreon', 'Kristi', 'Krona One', 'Krub', 'Kumar One', 'Kumar One Outline', 'Kurale', 'La Belle Aurore', 'Laila', 'Lakki Reddy', 'Lalezar', 'Lancelot', 'Lateef', 'Lato', 'League Script', 'Leckerli One', 'Ledger', 'Lekton', 'Lemon', 'Lemonada', 'Libre Barcode 128', 'Libre Barcode 128 Text', 'Libre Barcode 39', 'Libre Barcode 39 Extended', 'Libre Barcode 39 Extended Text', 'Libre Barcode 39 Text', 'Libre Baskerville', 'Libre Franklin', 'Life Savers', 'Lilita One', 'Lily Script One', 'Limelight', 'Linden Hill', 'Lobster', 'Lobster Two', 'Londrina Outline', 'Londrina Shadow', 'Londrina Sketch', 'Londrina Solid', 'Lora', 'Love Ya Like A Sister', 'Loved by the King', 'Lovers Quarrel', 'Luckiest Guy', 'Lusitana', 'Lustria', 'M PLUS 1p', 'M PLUS Rounded 1c', 'Macondo', 'Macondo Swash Caps', 'Mada', 'Magra', 'Maiden Orange', 'Maitree', 'Major Mono Display', 'Mako', 'Mali', 'Mallanna', 'Mandali', 'Manuale', 'Marcellus', 'Marcellus SC', 'Marck Script', 'Margarine', 'Markazi Text', 'Marko One', 'Marmelad', 'Martel', 'Martel Sans', 'Marvel', 'Mate', 'Mate SC', 'Maven Pro', 'McLaren', 'Meddon', 'MedievalSharp', 'Medula One', 'Meera Inimai', 'Megrim', 'Meie Script', 'Merienda', 'Merienda One', 'Merriweather', 'Merriweather Sans', 'Metal', 'Metal Mania', 'Metamorphous', 'Metrophobic', 'Michroma', 'Milonga', 'Miltonian', 'Miltonian Tattoo', 'Mina', 'Miniver', 'Miriam Libre', 'Mirza', 'Miss Fajardose', 'Mitr', 'Modak', 'Modern Antiqua', 'Mogra', 'Molengo', 'Molle', 'Monda', 'Monofett', 'Monoton', 'Monsieur La Doulaise', 'Montaga', 'Montez', 'Montserrat', 'Montserrat Alternates', 'Montserrat Subrayada', 'Moul', 'Moulpali', 'Mountains of Christmas', 'Mouse Memoirs', 'Mr Bedfort', 'Mr Dafoe', 'Mr De Haviland', 'Mrs Saint Delafield', 'Mrs Sheppards', 'Mukta', 'Mukta Mahee', 'Mukta Malar', 'Mukta Vaani', 'Muli', 'Mystery Quest', 'NTR', 'Nanum Brush Script', 'Nanum Gothic', 'Nanum Gothic Coding', 'Nanum Myeongjo', 'Nanum Pen Script', 'Neucha', 'Neuton', 'New Rocker', 'News Cycle', 'Niconne', 'Niramit', 'Nixie One', 'Nobile', 'Nokora', 'Norican', 'Nosifer', 'Notable', 'Nothing You Could Do', 'Noticia Text', 'Noto Sans', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans SC', 'Noto Sans TC', 'Noto Serif', 'Noto Serif JP', 'Noto Serif KR', 'Noto Serif SC', 'Noto Serif TC', 'Nova Cut', 'Nova Flat', 'Nova Mono', 'Nova Oval', 'Nova Round', 'Nova Script', 'Nova Slim', 'Nova Square', 'Numans', 'Nunito', 'Nunito Sans', 'Odor Mean Chey', 'Offside', 'Old Standard TT', 'Oldenburg', 'Oleo Script', 'Oleo Script Swash Caps', 'Open Sans', 'Open Sans Condensed', 'Oranienbaum', 'Orbitron', 'Oregano', 'Orienta', 'Original Surfer', 'Oswald', 'Over the Rainbow', 'Overlock', 'Overlock SC', 'Overpass', 'Overpass Mono', 'Ovo', 'Oxygen', 'Oxygen Mono', 'PT Mono', 'PT Sans', 'PT Sans Caption', 'PT Sans Narrow', 'PT Serif', 'PT Serif Caption', 'Pacifico', 'Padauk', 'Palanquin', 'Palanquin Dark', 'Pangolin', 'Paprika', 'Parisienne', 'Passero One', 'Passion One', 'Pathway Gothic One', 'Patrick Hand', 'Patrick Hand SC', 'Pattaya', 'Patua One', 'Pavanam', 'Paytone One', 'Peddana', 'Peralta', 'Permanent Marker', 'Petit Formal Script', 'Petrona', 'Philosopher', 'Piedra', 'Pinyon Script', 'Pirata One', 'Plaster', 'Play', 'Playball', 'Playfair Display', 'Playfair Display SC', 'Podkova', 'Poiret One', 'Poller One', 'Poly', 'Pompiere', 'Pontano Sans', 'Poor Story', 'Poppins', 'Port Lligat Sans', 'Port Lligat Slab', 'Pragati Narrow', 'Prata', 'Preahvihear', 'Press Start 2P', 'Pridi', 'Princess Sofia', 'Prociono', 'Prompt', 'Prosto One', 'Proza Libre', 'Puritan', 'Purple Purse', 'Quando', 'Quantico', 'Quattrocento', 'Quattrocento Sans', 'Questrial', 'Quicksand', 'Quintessential', 'Qwigley', 'Racing Sans One', 'Radley', 'Rajdhani', 'Rakkas', 'Raleway', 'Raleway Dots', 'Ramabhadra', 'Ramaraja', 'Rambla', 'Rammetto One', 'Ranchers', 'Rancho', 'Ranga', 'Rasa', 'Rationale', 'Ravi Prakash', 'Redressed', 'Reem Kufi', 'Reenie Beanie', 'Revalia', 'Rhodium Libre', 'Ribeye', 'Ribeye Marrow', 'Righteous', 'Risque', 'Roboto', 'Roboto Condensed', 'Roboto Mono', 'Roboto Slab', 'Rochester', 'Rock Salt', 'Rokkitt', 'Romanesco', 'Ropa Sans', 'Rosario', 'Rosarivo', 'Rouge Script', 'Rozha One', 'Rubik', 'Rubik Mono One', 'Ruda', 'Rufina', 'Ruge Boogie', 'Ruluko', 'Rum Raisin', 'Ruslan Display', 'Russo One', 'Ruthie', 'Rye', 'Sacramento', 'Sahitya', 'Sail', 'Saira', 'Saira Condensed', 'Saira Extra Condensed', 'Saira Semi Condensed', 'Salsa', 'Sanchez', 'Sancreek', 'Sansita', 'Sarabun', 'Sarala', 'Sarina', 'Sarpanch', 'Satisfy', 'Sawarabi Gothic', 'Sawarabi Mincho', 'Scada', 'Scheherazade', 'Schoolbell', 'Scope One', 'Seaweed Script', 'Secular One', 'Sedgwick Ave', 'Sedgwick Ave Display', 'Sen', 'Sevillana', 'Seymour One', 'Shadows Into Light', 'Shadows Into Light Two', 'Shanti', 'Share', 'Share Tech', 'Share Tech Mono', 'Shojumaru', 'Short Stack', 'Shrikhand', 'Siemreap', 'Sigmar One', 'Signika', 'Signika Negative', 'Simonetta', 'Sintony', 'Sirin Stencil', 'Six Caps', 'Skranji', 'Slabo 13px', 'Slabo 27px', 'Slackey', 'Smokum', 'Smythe', 'Sniglet', 'Snippet', 'Snowburst One', 'Sofadi One', 'Sofia', 'Song Myung', 'Sonsie One', 'Sorts Mill Goudy', 'Source Code Pro', 'Source Sans Pro', 'Source Serif Pro', 'Space Mono', 'Special Elite', 'Spectral', 'Spectral SC', 'Spicy Rice', 'Spinnaker', 'Spirax', 'Squada One', 'Sree Krushnadevaraya', 'Sriracha', 'Srisakdi', 'Staatliches', 'Stalemate', 'Stalinist One', 'Stardos Stencil', 'Stint Ultra Condensed', 'Stint Ultra Expanded', 'Stoke', 'Strait', 'Stylish', 'Sue Ellen Francisco', 'Suez One', 'Sumana', 'Sunflower', 'Sunshiney', 'Supermercado One', 'Sura', 'Suranna', 'Suravaram', 'Suwannaphum', 'Swanky and Moo Moo', 'Syncopate', 'Tajawal', 'Tangerine', 'Taprom', 'Tauri', 'Taviraj', 'Teko', 'Telex', 'Tenali Ramakrishna', 'Tenor Sans', 'Text Me One', 'Thasadith', 'The Girl Next Door', 'Tienne', 'Tillana', 'Timmana', 'Tinos', 'Titan One', 'Titillium Web', 'Trade Winds', 'Trirong', 'Trocchi', 'Trochut', 'Trykker', 'Tulpen One', 'Ubuntu', 'Ubuntu Condensed', 'Ubuntu Mono', 'Ultra', 'Uncial Antiqua', 'Underdog', 'Unica One', 'UnifrakturCook', 'UnifrakturMaguntia', 'Unkempt', 'Unlock', 'Unna', 'VT323', 'Vampiro One', 'Varela', 'Varela Round', 'Vast Shadow', 'Vesper Libre', 'Vibur', 'Vidaloka', 'Viga', 'Voces', 'Volkhov', 'Vollkorn', 'Vollkorn SC', 'Voltaire', 'Waiting for the Sunrise', 'Wallpoet', 'Walter Turncoat', 'Warnes', 'Wellfleet', 'Wendy One', 'Wire One', 'Work Sans', 'Yanone Kaffeesatz', 'Yantramanav', 'Yatra One', 'Yellowtail', 'Yeon Sung', 'Yeseva One', 'Yesteryear', 'Yrsa', 'ZCOOL KuaiLe', 'ZCOOL QingKe HuangYou', 'ZCOOL XiaoWei', 'Zeyada', 'Zilla Slab', 'Zilla Slab Highlight']
|
2725 |
}
|
2726 |
|
2727 |
var option = function(val, setVal){
|
@@ -4,4 +4,4 @@
|
|
4 |
* @date: 09-03-2019 17:4:39
|
5 |
* @link https://simpleparallax.com/
|
6 |
*/
|
7 |
-
"use strict";var _extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_createClass=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}(),_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}!function(e,t){"function"==typeof define&&define.amd?define([],function(){return t(e)}):"object"===("undefined"==typeof exports?"undefined":_typeof(exports))?module.exports=t(e):e.
|
4 |
* @date: 09-03-2019 17:4:39
|
5 |
* @link https://simpleparallax.com/
|
6 |
*/
|
7 |
+
"use strict";var _extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_createClass=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}(),_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}!function(e,t){"function"==typeof define&&define.amd?define([],function(){return t(e)}):"object"===("undefined"==typeof exports?"undefined":_typeof(exports))?module.exports=t(e):e.pagelayerParallax=t(e)}("undefined"!=typeof global?global:"undefined"!=typeof window?window:void 0,function(o){var i=function(){for(var e,t="transform webkitTransform mozTransform oTransform msTransform".split(" "),n=0;void 0===e;)e=null!=document.createElement("div").style[t[n]]?t[n]:void 0,n++;return e}();!function(){for(var a=0,e=["ms","moz","webkit","o"],t=0;t<e.length&&!o.requestAnimationFrame;++t)o.requestAnimationFrame=o[e[t]+"RequestAnimationFrame"],o.cancelAnimationFrame=o[e[t]+"CancelAnimationFrame"]||o[e[t]+"CancelRequestAnimationFrame"];o.requestAnimationFrame||(o.requestAnimationFrame=function(e,t){var n=(new Date).getTime(),i=Math.max(0,16-(n-a)),s=o.setTimeout(function(){e(n+i)},i);return a=n+i,s}),o.cancelAnimationFrame||(o.cancelAnimationFrame=function(e){clearTimeout(e)})}(),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null});var s=[],t=-1,a=void 0,r=void 0,l=void 0,h=void 0,m=!1,u=function(){function n(e,t){_classCallCheck(this,n),this.element=e,this.elementContainer=e,this.defaults={delay:.6,orientation:"up",scale:1.3,overflow:!1,transition:"cubic-bezier(0,0,0,1)",breakpoint:!1},this.settings=_extends(this.defaults,t),this.settings.breakpoint&&document.documentElement.clientWidth<=this.settings.breakpoint||(this.init=this.init.bind(this),this.animationFrame=this.animationFrame.bind(this),this.handleResize=this.handleResize.bind(this),this.isImageLoaded(this.element)?this.init():this.element.addEventListener("load",this.init),s.push(this),m||(m=!0,this.getViewportOffsetHeight(),this.animationFrame()))}return _createClass(n,[{key:"init",value:function(){this.isInit||(!1===this.settings.overflow&&this.wrapElement(),this.setStyle(),this.getElementOffset(),this.getTranslateValue(),this.animate(),o.addEventListener("resize",this.handleResize),this.isInit=!0)}},{key:"isImageLoaded",value:function(){return!!this.element.complete&&(void 0===this.element.naturalWidth||0!==this.element.naturalWidth)}},{key:"isVisible",value:function(){return this.elementBottomX>a&&this.elementTopX<r}},{key:"wrapElement",value:function(){var e=this.element.closest("picture")||this.element,t=document.createElement("div");t.classList.add("pagelayerParallax"),t.style.overflow="hidden",e.parentNode.insertBefore(t,e),t.appendChild(e),this.elementContainer=t}},{key:"unWrapElement",value:function(){var e=this.elementContainer.parentNode;if(e){for(;this.elementContainer.firstChild;)e.insertBefore(this.elementContainer.firstChild,this.elementContainer);e.removeChild(this.elementContainer)}}},{key:"setStyle",value:function(){!1===this.settings.overflow&&(this.element.style[i]="scale("+this.settings.scale+")"),0<this.settings.delay&&(this.element.style.transition="transform "+this.settings.delay+"s "+this.settings.transition),this.element.style.willChange="transform"}},{key:"unSetStyle",value:function(){this.element.style.willChange="",this.element.style[i]="",this.element.style.transition=""}},{key:"getElementOffset",value:function(){var e=this.elementContainer.getBoundingClientRect();this.elementHeight=e.height,this.elementTopX=e.top+o.pageYOffset,this.elementBottomX=this.elementHeight+this.elementTopX}},{key:"getViewportOffsetTop",value:function(){a=o.pageYOffset}},{key:"getViewportOffsetHeight",value:function(){l=document.documentElement.clientHeight}},{key:"getViewportOffsetBottom",value:function(){r=a+l}},{key:"handleResize",value:function(){this.getViewportOffsetHeight(),this.getElementOffset(),this.getRangeMax()}},{key:"getRangeMax",value:function(){var e=this.element.clientHeight;this.rangeMax=e*this.settings.scale-e,"down"!==this.settings.orientation&&"right"!==this.settings.orientation||(this.rangeMax*=-1)}},{key:"getTranslateValue",value:function(){var e=((r-this.elementTopX)/((l+this.elementHeight)/100)).toFixed(1);return e=Math.min(100,Math.max(0,e)),this.oldPercentage!==e&&(this.rangeMax||this.getRangeMax(),this.translateValue=(e/100*this.rangeMax-this.rangeMax/2).toFixed(0),this.oldTranslateValue!==this.translateValue&&(this.oldPercentage=e,this.oldTranslateValue=this.translateValue,!0))}},{key:"animate",value:function(){var e=0,t=0,n=void 0;"left"===this.settings.orientation||"right"===this.settings.orientation?t=this.translateValue+"px":e=this.translateValue+"px",n=!1===this.settings.overflow?"translate3d("+t+", "+e+", 0) scale("+this.settings.scale+")":"translate3d("+t+", "+e+", 0)",this.element.style[i]=n}},{key:"proceedElement",value:function(e){e.isVisible()&&e.getTranslateValue()&&e.animate()}},{key:"animationFrame",value:function(){if(this.getViewportOffsetTop(),t!==a){this.getViewportOffsetBottom();for(var e=0;e<s.length;e++)this.proceedElement(s[e]);h=o.requestAnimationFrame(this.animationFrame),t=a}else h=o.requestAnimationFrame(this.animationFrame)}},{key:"destroy",value:function(){this.isDestroyed||(this.unSetStyle(),!1===this.settings.overflow&&this.unWrapElement(),s.splice(s.indexOf(this),1),s.length||(m=!1,o.cancelAnimationFrame(h)),o.removeEventListener("resize",this.handleResize))}},{key:"isDestroyed",get:function(){return-1===s.indexOf(this)}}]),n}();return function(e,t){var n=[];if(e.length)for(var i=0;i<e.length;i++)n.push(new u(e[i],t));else n.push(new u(e,t));return n}});
|
@@ -24,7 +24,7 @@ jQuery(window).resize(function(){
|
|
24 |
}, 200);
|
25 |
|
26 |
});
|
27 |
-
|
28 |
// Render for row
|
29 |
function pagelayer_render_pl_row(el){
|
30 |
|
@@ -39,6 +39,11 @@ function pagelayer_render_pl_row(el){
|
|
39 |
pagelayer_bg_video(el);
|
40 |
}
|
41 |
|
|
|
|
|
|
|
|
|
|
|
42 |
// Render for col
|
43 |
function pagelayer_render_pl_col(el){
|
44 |
|
@@ -173,12 +178,17 @@ function pagelayer_render_end_pl_row(el){
|
|
173 |
}
|
174 |
}
|
175 |
|
|
|
|
|
|
|
|
|
|
|
176 |
// Set Row parent width
|
177 |
function pagelayer_pl_row_parent_full(par){
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
}
|
183 |
|
184 |
// Row shape render
|
@@ -427,7 +437,12 @@ function pagelayer_render_pl_grid_gallery(el){
|
|
427 |
var col = el.atts['columns'];
|
428 |
|
429 |
var i = 0;
|
430 |
-
|
|
|
|
|
|
|
|
|
|
|
431 |
ul += '<ul class="pagelayer-grid-gallery-ul">';
|
432 |
var gallery_rand = 'gallery-id-'+Math.floor((Math.random() * 100) + 1);
|
433 |
|
24 |
}, 200);
|
25 |
|
26 |
});
|
27 |
+
|
28 |
// Render for row
|
29 |
function pagelayer_render_pl_row(el){
|
30 |
|
39 |
pagelayer_bg_video(el);
|
40 |
}
|
41 |
|
42 |
+
// Render for inner row
|
43 |
+
function pagelayer_render_pl_inner_row(el){
|
44 |
+
pagelayer_render_pl_row(el);
|
45 |
+
}
|
46 |
+
|
47 |
// Render for col
|
48 |
function pagelayer_render_pl_col(el){
|
49 |
|
178 |
}
|
179 |
}
|
180 |
|
181 |
+
// Render for inner row
|
182 |
+
function pagelayer_render_end_pl_inner_row(el){
|
183 |
+
pagelayer_render_end_pl_row(el);
|
184 |
+
}
|
185 |
+
|
186 |
// Set Row parent width
|
187 |
function pagelayer_pl_row_parent_full(par){
|
188 |
+
var vw = jQuery('html').width();
|
189 |
+
par.css({'width': vw,'max-width': '100vw'});
|
190 |
+
par.offset({left: 0});
|
191 |
+
par.children('.pagelayer-row').css({left: 0});
|
192 |
}
|
193 |
|
194 |
// Row shape render
|
437 |
var col = el.atts['columns'];
|
438 |
|
439 |
var i = 0;
|
440 |
+
if(pagelayer_empty(el.tmp)){
|
441 |
+
ul = '<h4 style="text-align:center;">'+ pagelayer_l('select_images')+'</h4>';
|
442 |
+
el.atts['ul'] = ul;
|
443 |
+
return;
|
444 |
+
}
|
445 |
+
|
446 |
ul += '<ul class="pagelayer-grid-gallery-ul">';
|
447 |
var gallery_rand = 'gallery-id-'+Math.floor((Math.random() * 100) + 1);
|
448 |
|
@@ -556,6 +556,7 @@
|
|
556 |
"auto": "Auto",
|
557 |
"full_width": "Full",
|
558 |
"fixed_width": "Fixed",
|
|
|
559 |
"row_width": "Row Width",
|
560 |
"col_gap": "Columns Gap",
|
561 |
"auto_width": "Auto",
|
@@ -1678,5 +1679,10 @@
|
|
1678 |
"img_portfolio" : "Image Portfolio",
|
1679 |
"overlay_cont_pos" : "Overlay Content Position",
|
1680 |
"tooltip" : "Tooltip",
|
1681 |
-
"enable_overlay" : "Enable Overlay"
|
|
|
|
|
|
|
|
|
|
|
1682 |
}
|
556 |
"auto": "Auto",
|
557 |
"full_width": "Full",
|
558 |
"fixed_width": "Fixed",
|
559 |
+
"fixed_con_width": "Fixed Content Width",
|
560 |
"row_width": "Row Width",
|
561 |
"col_gap": "Columns Gap",
|
562 |
"auto_width": "Auto",
|
1679 |
"img_portfolio" : "Image Portfolio",
|
1680 |
"overlay_cont_pos" : "Overlay Content Position",
|
1681 |
"tooltip" : "Tooltip",
|
1682 |
+
"enable_overlay" : "Enable Overlay",
|
1683 |
+
"popup_cookie_session" : "Set Cookie Session",
|
1684 |
+
"popup_cookie_selector" : "Selector To Set Cookie and Close Popup",
|
1685 |
+
"popup_cookie_name" : "Cookie Name",
|
1686 |
+
"popup_cookie_exp" : "Cookie Expires",
|
1687 |
+
"select_images" : "Please select images from the left Widget properties !"
|
1688 |
}
|
@@ -239,9 +239,16 @@ function pagelayer_get_section_shortcodes(){
|
|
239 |
|
240 |
$data = '';
|
241 |
if(isset($_REQUEST['pagelayer_section_id'])){
|
|
|
242 |
$get_url = PAGELAYER_API.'/library.php?give_id='.$_REQUEST['pagelayer_section_id'].(!empty($pagelayer->license['license']) ? '&license='.$pagelayer->license['license'] : '');
|
243 |
-
$fetch =
|
244 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
}
|
246 |
|
247 |
if(isset($_REQUEST['postID'])){
|
239 |
|
240 |
$data = '';
|
241 |
if(isset($_REQUEST['pagelayer_section_id'])){
|
242 |
+
|
243 |
$get_url = PAGELAYER_API.'/library.php?give_id='.$_REQUEST['pagelayer_section_id'].(!empty($pagelayer->license['license']) ? '&license='.$pagelayer->license['license'] : '');
|
244 |
+
$fetch = wp_remote_get($get_url, array('timeout' => 60));
|
245 |
+
|
246 |
+
if ( is_array( $fetch ) && ! is_wp_error( $fetch ) && isset( $fetch['body'] ) ) {
|
247 |
+
$data = json_decode( $fetch['body'], true ); // use the content
|
248 |
+
}else{
|
249 |
+
$data['error'] = __pl('The response was malformed');
|
250 |
+
pagelayer_json_output($data);
|
251 |
+
}
|
252 |
}
|
253 |
|
254 |
if(isset($_REQUEST['postID'])){
|
@@ -45,7 +45,7 @@ class PageLayer_LiveEditor{
|
|
45 |
//add_filter('body_class', array($this, 'body_class'));
|
46 |
|
47 |
// Add the content handler
|
48 |
-
add_filter('the_content', array($this, 'the_content'));
|
49 |
|
50 |
// Build the Shortcodes MD5 for cache
|
51 |
$scmd5 = md5(json_encode($pagelayer->shortcodes).json_encode($pagelayer->groups).json_encode($pagelayer->styles));
|
@@ -124,7 +124,7 @@ pagelayer_revision_obj = '.json_encode( pagelayer_get_post_revision_by_id( $post
|
|
124 |
pagelayer_author = '.json_encode(pagelayer_author_data($post->ID)).';
|
125 |
pagelayer_site_logo = '.json_encode(pagelayer_site_logo()).';
|
126 |
pagelayer_support_FI = "'. ( current_theme_supports('post-thumbnails') ) .'";
|
127 |
-
pagelayer_editable = ".'.(!empty($pagelayer->template_editor) ? $pagelayer->template_editor : '
|
128 |
pagelayer_wp_query = '. json_encode($wp_query->query_vars) .';
|
129 |
pagelayer_post = '. @json_encode($_post) .';
|
130 |
pagelayer_loaded_icons = '.json_encode(pagelayer_enabled_icons()).';
|
@@ -192,8 +192,12 @@ pagelayer_shortcodes.pl_post_props.params.post_status.default = "'.$_post->post_
|
|
192 |
// Add certain things
|
193 |
function the_content($content) {
|
194 |
|
195 |
-
global $post;
|
196 |
-
|
|
|
|
|
|
|
|
|
197 |
// Check if we're inside the main loop in a single post page.
|
198 |
if ( is_single() && in_the_loop() && is_main_query() ) {
|
199 |
return $content;
|
45 |
//add_filter('body_class', array($this, 'body_class'));
|
46 |
|
47 |
// Add the content handler
|
48 |
+
add_filter('the_content', array($this, 'the_content'), 999999);
|
49 |
|
50 |
// Build the Shortcodes MD5 for cache
|
51 |
$scmd5 = md5(json_encode($pagelayer->shortcodes).json_encode($pagelayer->groups).json_encode($pagelayer->styles));
|
124 |
pagelayer_author = '.json_encode(pagelayer_author_data($post->ID)).';
|
125 |
pagelayer_site_logo = '.json_encode(pagelayer_site_logo()).';
|
126 |
pagelayer_support_FI = "'. ( current_theme_supports('post-thumbnails') ) .'";
|
127 |
+
pagelayer_editable = ".'.(!empty($pagelayer->template_editor) ? $pagelayer->template_editor : 'pagelayer-editable-area').'";
|
128 |
pagelayer_wp_query = '. json_encode($wp_query->query_vars) .';
|
129 |
pagelayer_post = '. @json_encode($_post) .';
|
130 |
pagelayer_loaded_icons = '.json_encode(pagelayer_enabled_icons()).';
|
192 |
// Add certain things
|
193 |
function the_content($content) {
|
194 |
|
195 |
+
global $post, $pagelayer;
|
196 |
+
|
197 |
+
if(empty($pagelayer->dont_make_editable)){
|
198 |
+
$content = '<div class="pagelayer-editable-area">'.$content.'</div>';
|
199 |
+
}
|
200 |
+
|
201 |
// Check if we're inside the main loop in a single post page.
|
202 |
if ( is_single() && in_the_loop() && is_main_query() ) {
|
203 |
return $content;
|
@@ -405,7 +405,7 @@ function pagelayer_render_shortcode($atts, $content = '', $tag = ''){
|
|
405 |
$node = pQuery::parseStr($div);
|
406 |
|
407 |
// Add the editable values
|
408 |
-
if(!empty($el['edit'])){
|
409 |
|
410 |
foreach($el['edit'] as $k => $v){
|
411 |
$node->query($v)->attr('pagelayer-editable', $k);
|
405 |
$node = pQuery::parseStr($div);
|
406 |
|
407 |
// Add the editable values
|
408 |
+
if(!empty($el['edit']) && pagelayer_is_live()){
|
409 |
|
410 |
foreach($el['edit'] as $k => $v){
|
411 |
$node->query($v)->attr('pagelayer-editable', $k);
|
@@ -306,7 +306,7 @@ $pagelayer->slider_pager_styles = [
|
|
306 |
'max' => 200,
|
307 |
'screen' => 1,
|
308 |
'css' => [
|
309 |
-
'{{element}} .pagelayer-owl-
|
310 |
]
|
311 |
)
|
312 |
];
|
@@ -1772,7 +1772,7 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_row', array(
|
|
1772 |
),
|
1773 |
'fixed_width' => array(
|
1774 |
'type' => 'slider',
|
1775 |
-
'label' => __pl('
|
1776 |
'default' => 500,
|
1777 |
'min' => 1,
|
1778 |
'max' => 3000,
|
@@ -2138,7 +2138,7 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_row', array(
|
|
2138 |
'row_shape_top_color' => array(
|
2139 |
'type' => 'color',
|
2140 |
'label' => __pl('shape_bg_color'),
|
2141 |
-
'default' => '#
|
2142 |
'css' => ['{{element}} .pagelayer-svg-top .pagelayer-shape-fill' => 'fill:{{val}}'],
|
2143 |
'show' => ['row_shape_position' => 'top'],
|
2144 |
),
|
@@ -2194,7 +2194,7 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_row', array(
|
|
2194 |
'row_shape_bottom_color' => array(
|
2195 |
'type' => 'color',
|
2196 |
'label' => __pl('shape_bg_color'),
|
2197 |
-
'default' => '#
|
2198 |
'css' => ['{{element}} .pagelayer-svg-bottom .pagelayer-shape-fill' => 'fill:{{val}}'],
|
2199 |
'show' => ['row_shape_position' => 'bottom'],
|
2200 |
),
|
@@ -4256,6 +4256,12 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_image', array(
|
|
4256 |
'type' => 'color',
|
4257 |
'default' => '#0986c0',
|
4258 |
'css' => ['{{element}} .pagelayer-image-caption' => 'color: {{val}}'],
|
|
|
|
|
|
|
|
|
|
|
|
|
4259 |
)
|
4260 |
],
|
4261 |
'overlay_style' => [
|
@@ -7957,7 +7963,7 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_alert', array(
|
|
7957 |
'type' => 'slider',
|
7958 |
'min' => 0,
|
7959 |
'max' => 500,
|
7960 |
-
'default' =>
|
7961 |
'screen' => 1,
|
7962 |
'css' => ['{{element}} .pagelayer-alert-icon' => 'font-size:{{val}}px;'],
|
7963 |
),
|
306 |
'max' => 200,
|
307 |
'screen' => 1,
|
308 |
'css' => [
|
309 |
+
'{{element}} .pagelayer-owl-dots' => 'margin-top: {{val}}px;'
|
310 |
]
|
311 |
)
|
312 |
];
|
1772 |
),
|
1773 |
'fixed_width' => array(
|
1774 |
'type' => 'slider',
|
1775 |
+
'label' => __pl('fixed_con_width'),
|
1776 |
'default' => 500,
|
1777 |
'min' => 1,
|
1778 |
'max' => 3000,
|
2138 |
'row_shape_top_color' => array(
|
2139 |
'type' => 'color',
|
2140 |
'label' => __pl('shape_bg_color'),
|
2141 |
+
'default' => '#227bc3',
|
2142 |
'css' => ['{{element}} .pagelayer-svg-top .pagelayer-shape-fill' => 'fill:{{val}}'],
|
2143 |
'show' => ['row_shape_position' => 'top'],
|
2144 |
),
|
2194 |
'row_shape_bottom_color' => array(
|
2195 |
'type' => 'color',
|
2196 |
'label' => __pl('shape_bg_color'),
|
2197 |
+
'default' => '#e44993',
|
2198 |
'css' => ['{{element}} .pagelayer-svg-bottom .pagelayer-shape-fill' => 'fill:{{val}}'],
|
2199 |
'show' => ['row_shape_position' => 'bottom'],
|
2200 |
),
|
4256 |
'type' => 'color',
|
4257 |
'default' => '#0986c0',
|
4258 |
'css' => ['{{element}} .pagelayer-image-caption' => 'color: {{val}}'],
|
4259 |
+
),
|
4260 |
+
'caption_typo' => array(
|
4261 |
+
'type' => 'typography',
|
4262 |
+
'label' => __pl('typography'),
|
4263 |
+
'screen' => 1,
|
4264 |
+
'css' => ['{{element}} .pagelayer-image-caption' => 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
|
4265 |
)
|
4266 |
],
|
4267 |
'overlay_style' => [
|
7963 |
'type' => 'slider',
|
7964 |
'min' => 0,
|
7965 |
'max' => 500,
|
7966 |
+
'default' => 20,
|
7967 |
'screen' => 1,
|
7968 |
'css' => ['{{element}} .pagelayer-alert-icon' => 'font-size:{{val}}px;'],
|
7969 |
),
|
@@ -448,9 +448,11 @@ function pagelayer_get_post_content($id){
|
|
448 |
|
449 |
$content = $post->post_content;
|
450 |
pagelayer_load_shortcodes();
|
451 |
-
|
|
|
452 |
$content = apply_filters( 'the_content', $content );
|
453 |
$content = str_replace( ']]>', ']]>', $content );
|
|
|
454 |
|
455 |
return $content;
|
456 |
|
448 |
|
449 |
$content = $post->post_content;
|
450 |
pagelayer_load_shortcodes();
|
451 |
+
|
452 |
+
$pagelayer->dont_make_editable = true;
|
453 |
$content = apply_filters( 'the_content', $content );
|
454 |
$content = str_replace( ']]>', ']]>', $content );
|
455 |
+
$pagelayer->dont_make_editable = false;
|
456 |
|
457 |
return $content;
|
458 |
|
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: PageLayer
|
4 |
Plugin URI: http://wordpress.org/plugins/pagelayer/
|
5 |
Description: PageLayer is a WordPress page builder plugin. Its very easy to use and very light on the browser.
|
6 |
-
Version: 1.0.
|
7 |
Author: Pagelayer Team
|
8 |
Author URI: https://pagelayer.com/
|
9 |
License: LGPL v2.1
|
3 |
Plugin Name: PageLayer
|
4 |
Plugin URI: http://wordpress.org/plugins/pagelayer/
|
5 |
Description: PageLayer is a WordPress page builder plugin. Its very easy to use and very light on the browser.
|
6 |
+
Version: 1.0.9
|
7 |
Author: Pagelayer Team
|
8 |
Author URI: https://pagelayer.com/
|
9 |
License: LGPL v2.1
|
@@ -4,7 +4,7 @@ Tags: page builder, editor, landing page, drag-and-drop, pagelayer, form-builder
|
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.3
|
6 |
Requires PHP: 5.5
|
7 |
-
Stable tag: 1.0.
|
8 |
License: LGPL v2.1
|
9 |
License URI: http://www.gnu.org/licenses/lgpl-2.1.html
|
10 |
|
@@ -109,6 +109,18 @@ Do you have questions related to PageLayer ? Use the following links :
|
|
109 |
|
110 |
== Changelog ==
|
111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
= 1.0.8 (March 24, 2020) =
|
113 |
* [Premium-Feature] We have added Scrolling Effects and Mouse Effects feature in Pagelayer. You can now set an animation to an element on mouse movement or on scroll.
|
114 |
* [Feature] We have now added 300+ sections in Pagelayer. You can 1-click add sections to a post / page. We have also added many pages so that you can build your website with just a few clicks.
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.3
|
6 |
Requires PHP: 5.5
|
7 |
+
Stable tag: 1.0.9
|
8 |
License: LGPL v2.1
|
9 |
License URI: http://www.gnu.org/licenses/lgpl-2.1.html
|
10 |
|
109 |
|
110 |
== Changelog ==
|
111 |
|
112 |
+
= 1.0.9 (April 24, 2020) =
|
113 |
+
* [Premium-Feature] Cookie option added to popup template. Now you can hide a popup for a fixed time with the help of the cookie at the click of close button. This is particularly useful to create a Cookie Consent popup.
|
114 |
+
* [Task] Some WordPress themes did not have an "entry-content" class to wrap post content. Hence Pagelayer was unable to find the editable region. Now we have added the wrapper with the class "pagelayer-editable-area" to create an editable region.
|
115 |
+
* [Task] Added a placeholder to the grid gallery widget.
|
116 |
+
* [Task] Added typography option for image caption in the image widget.
|
117 |
+
* [Bug-Fix] Added cursor pointer to button in button widget.
|
118 |
+
* [Bug-Fix] In certain cases, there were some js errors in the action history. This is fixed.
|
119 |
+
* [Bug-Fix] In certain cases, Pagelayer was unable to get the contents of the section from the Pagelayer API. This is fixed.
|
120 |
+
* [Bug-Fix] In the inner row widget the background elements was not working. This is fixed.
|
121 |
+
* [Bug-Fix] In the inner row widget, shape styles was not working. This is fixed.
|
122 |
+
* [Bug-Fix] If zlip compression was on in PHP, ob_gzhandler used to give an error due to which Pagelayer failed to load in some cases. This is fixed.
|
123 |
+
|
124 |
= 1.0.8 (March 24, 2020) =
|
125 |
* [Premium-Feature] We have added Scrolling Effects and Mouse Effects feature in Pagelayer. You can now set an animation to an element on mouse movement or on scroll.
|
126 |
* [Feature] We have now added 300+ sections in Pagelayer. You can 1-click add sections to a post / page. We have also added many pages so that you can build your website with just a few clicks.
|