Page Builder: PageLayer – Drag and Drop website builder - Version 1.5.4

Version Description

(Aug 05, 2021) = * [Improvement] The Inline editor position has been further improved for the better user experience. * [Improvement] Added system fonts to Typography font list. * [Bug-Fix] While using Pagelayer template the WordPress Page Break was not working properly. This is fixed. * [Bug-Fix] The linked media file was the thumbnail image if image size thumbnail was selected in the Image slider widget. This is fixed. * [Bug-Fix] In some cases the review widget was not working properly when editing inline. This is fixed. * [Bug-Fix] Post status used to be changed to draft when updating Pagelayer popup template via Pagelayer editor. This is fixed. * [Bug-Fix] In certain cases the inline editor font family was not working properly. This is fixed. * [Bug-Fix] The blank post excerpt was not updated properly. This is fixed. * [Bug-Fix] In some cases, page scroll was added because of the width of the table. This is fixed. * [Bug-Fix] After adding the link, the inline editor was unable to edit the image and icon box contents. This is fixed.

Download this release

Release Info

Developer pagelayer
Plugin Icon 128x128 Page Builder: PageLayer – Drag and Drop website builder
Version 1.5.4
Comparing to
See all releases

Code changes from version 1.5.3 to 1.5.4

css/combined.css CHANGED
@@ -4962,11 +4962,33 @@ width:100%;
4962
 
4963
  /* Mega menu css ends */
4964
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4965
  /********************/
4966
  /*** Freemium End ***/
4967
  /********************/
4968
 
4969
-
4970
  /*!
4971
  * Nivo Lightbox v1.3.1
4972
  * http://dev7studios.com/nivo-lightbox
4962
 
4963
  /* Mega menu css ends */
4964
 
4965
+ /* Page Break Start */
4966
+
4967
+ .pagelayer-page-links{
4968
+ text-align: center;
4969
+ margin-top: 50px;
4970
+ }
4971
+
4972
+ .pagelayer-page-links .post-page-numbers {
4973
+ padding: 0;
4974
+ margin: 0 0 .3em .3em;
4975
+ border: 1px solid;
4976
+ color: #000;
4977
+ background: 0 0;
4978
+ font-size: .8em;
4979
+ width: 2.5em;
4980
+ height: 2.5em;
4981
+ line-height: calc(2.5em - 4px);
4982
+ display: inline-block;
4983
+ text-align: center;
4984
+ transition: all .2s linear;
4985
+ }
4986
+ /* Page Break End */
4987
+
4988
  /********************/
4989
  /*** Freemium End ***/
4990
  /********************/
4991
 
 
4992
  /*!
4993
  * Nivo Lightbox v1.3.1
4994
  * http://dev7studios.com/nivo-lightbox
css/pagelayer-editor-frontend.css CHANGED
@@ -473,3 +473,8 @@ font-weight: 400 !important;
473
  .pagelayer-tooltip-text[contenteditable="true"]{
474
  visibility: visible;
475
  }
 
 
 
 
 
473
  .pagelayer-tooltip-text[contenteditable="true"]{
474
  visibility: visible;
475
  }
476
+
477
+ .pagelayer-service-details{
478
+ position:relative;
479
+ z-index:9;
480
+ }
css/pagelayer-editor.css CHANGED
@@ -1385,6 +1385,25 @@ max-height: 183px;
1385
  overflow-y: auto;
1386
  }
1387
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1388
  .pagelayer-elp-icon-span{
1389
  display: block;
1390
  margin: 2px;
1385
  overflow-y: auto;
1386
  }
1387
 
1388
+ .pagelayer-elp-icon-list::-webkit-scrollbar {
1389
+ -webkit-appearance: none;
1390
+ }
1391
+
1392
+ .pagelayer-elp-icon-list::-webkit-scrollbar:vertical {
1393
+ width: 10px;
1394
+ }
1395
+
1396
+ .pagelayer-elp-icon-list::-webkit-scrollbar-thumb {
1397
+ border-radius: 8px;
1398
+ border: 2px solid white;
1399
+ background-color: rgba(0, 0, 0, .5);
1400
+ }
1401
+
1402
+ .pagelayer-elp-icon-list::-webkit-scrollbar-track {
1403
+ background-color: #fff;
1404
+ border-radius: 8px;
1405
+ }
1406
+
1407
  .pagelayer-elp-icon-span{
1408
  display: block;
1409
  margin: 2px;
css/pagelayer-frontend.css CHANGED
@@ -4962,6 +4962,29 @@ width:100%;
4962
 
4963
  /* Mega menu css ends */
4964
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4965
  /********************/
4966
  /*** Freemium End ***/
4967
- /********************/
4962
 
4963
  /* Mega menu css ends */
4964
 
4965
+ /* Page Break Start */
4966
+
4967
+ .pagelayer-page-links{
4968
+ text-align: center;
4969
+ margin-top: 50px;
4970
+ }
4971
+
4972
+ .pagelayer-page-links .post-page-numbers {
4973
+ padding: 0;
4974
+ margin: 0 0 .3em .3em;
4975
+ border: 1px solid;
4976
+ color: #000;
4977
+ background: 0 0;
4978
+ font-size: .8em;
4979
+ width: 2.5em;
4980
+ height: 2.5em;
4981
+ line-height: calc(2.5em - 4px);
4982
+ display: inline-block;
4983
+ text-align: center;
4984
+ transition: all .2s linear;
4985
+ }
4986
+ /* Page Break End */
4987
+
4988
  /********************/
4989
  /*** Freemium End ***/
4990
+ /********************/
css/pagelayer-pen.css CHANGED
@@ -1,4 +1,9 @@
1
  /* Pagelayer Pen editor*/
 
 
 
 
 
2
  .pagelayer-pen-holder{
3
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
4
  background-color: #ffffff;
1
  /* Pagelayer Pen editor*/
2
+ .pagelayer-pen{
3
+ -webkit-user-select: text;
4
+ user-select: text;
5
+ }
6
+
7
  .pagelayer-pen-holder{
8
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
9
  background-color: #ffffff;
init.php CHANGED
@@ -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.5.3');
9
  define('PAGELAYER_DIR', dirname(PAGELAYER_FILE));
10
  define('PAGELAYER_SLUG', 'pagelayer');
11
  define('PAGELAYER_URL', plugins_url('', PAGELAYER_FILE));
@@ -631,7 +631,7 @@ function pagelayer_enqueue_frontend($force = false){
631
 
632
  }
633
 
634
- // Load the google fonts
635
  add_action('wp_footer', 'pagelayer_enqueue_fonts', 5);
636
  function pagelayer_enqueue_fonts($suffix = '-header'){
637
 
@@ -661,6 +661,11 @@ function pagelayer_enqueue_fonts($suffix = '-header'){
661
  }
662
 
663
  foreach($pagelayer->runtime_fonts as $font => $weights){
 
 
 
 
 
664
  if(strpos($font, '_plf')){
665
  if(!in_array($font, $pagelayer->fonts_sent)){
666
  $pagelayer->fonts_sent[] = $font;
5
 
6
  define('PAGELAYER_BASE', plugin_basename(PAGELAYER_FILE));
7
  define('PAGELAYER_PRO_BASE', 'pagelayer-pro/pagelayer-pro.php');
8
+ define('PAGELAYER_VERSION', '1.5.4');
9
  define('PAGELAYER_DIR', dirname(PAGELAYER_FILE));
10
  define('PAGELAYER_SLUG', 'pagelayer');
11
  define('PAGELAYER_URL', plugins_url('', PAGELAYER_FILE));
631
 
632
  }
633
 
634
+ // Load the google and custom fonts
635
  add_action('wp_footer', 'pagelayer_enqueue_fonts', 5);
636
  function pagelayer_enqueue_fonts($suffix = '-header'){
637
 
661
  }
662
 
663
  foreach($pagelayer->runtime_fonts as $font => $weights){
664
+
665
+ if(in_array($font, $pagelayer->system_fonts)){
666
+ continue;
667
+ }
668
+
669
  if(strpos($font, '_plf')){
670
  if(!in_array($font, $pagelayer->fonts_sent)){
671
  $pagelayer->fonts_sent[] = $font;
js/pagelayer-editor.js CHANGED
@@ -2070,8 +2070,10 @@ pagelayer.gDocument.keydown(function(event){
2070
  range.setEndAfter(lastChild);
2071
  val = range.cloneContents();
2072
  selContent = jQuery('<div>').append(val).html();
 
 
2073
  }
2074
-
2075
  range.deleteContents();
2076
 
2077
  if( jQuery(startContainer).is(':first-child') && jQuery(startContainer).is(':empty') ){
2070
  range.setEndAfter(lastChild);
2071
  val = range.cloneContents();
2072
  selContent = jQuery('<div>').append(val).html();
2073
+ }else if(selfEle.text().trim() == ''){
2074
+ selContent = selContent.replace(/\s+/, "\u00A0");
2075
  }
2076
+
2077
  range.deleteContents();
2078
 
2079
  if( jQuery(startContainer).is(':first-child') && jQuery(startContainer).is(':empty') ){
js/pagelayer-pen.js CHANGED
@@ -174,6 +174,7 @@ class PagelayerPen{
174
  fn: 'commandHandler',
175
  fixIcon: '<i class="fas fa-font"></i>',
176
  default : pagelayer_fonts,
 
177
  },
178
  viewHTML:{
179
  fn: 'viewHTMLBtnHandler',
@@ -784,9 +785,10 @@ class PagelayerPen{
784
  }
785
 
786
  // Set left of toolbar
787
- var editorOffset = t.editor.offset();
788
  var editorTop = editorOffset.top;
789
  var editorLeft = editorOffset.left;
 
790
  var toolBarTop = editorTop;
791
  var bound = t.getBounds(range);
792
 
@@ -796,13 +798,14 @@ class PagelayerPen{
796
  }
797
 
798
  var boundTop = bound.top - 15;
799
- editorLeft = bound.left;
800
-
801
  // Set top of toolbar
802
- if( boundTop - tooltipHeight > 0){
803
- toolBarTop = boundTop;
804
- }else{
805
  toolBarTop = bound.bottom + tooltipHeight + 15;
 
 
 
 
806
  }
807
 
808
  // Show Toolbar
@@ -813,16 +816,15 @@ class PagelayerPen{
813
  // Set top of toolbar
814
  toolBar.css('top', toolBarTop);
815
 
816
- if(!range.collapsed){
817
- return;
818
- }
819
-
820
  // Set left of toobar
821
  var docW = jQuery(window).width() - 10;
822
  var toolW = toolBar.width();
 
823
 
824
- editorLeft = editorLeft - toolW / 2;
825
-
 
 
826
  toolBar.css('left', editorLeft+'px');
827
 
828
  var tooltipLeft = toolBar.offset().left;
@@ -1146,6 +1148,17 @@ class PagelayerPen{
1146
 
1147
  }
1148
 
 
 
 
 
 
 
 
 
 
 
 
1149
  setLinkHandler(){
1150
  var t = this,
1151
  documentSelection = t.doc.getSelection(),
174
  fn: 'commandHandler',
175
  fixIcon: '<i class="fas fa-font"></i>',
176
  default : pagelayer_fonts,
177
+ buildBtn : 'buildfontBtnHandler',
178
  },
179
  viewHTML:{
180
  fn: 'viewHTMLBtnHandler',
785
  }
786
 
787
  // Set left of toolbar
788
+ var editorOffset = t.editor[0].getBoundingClientRect();
789
  var editorTop = editorOffset.top;
790
  var editorLeft = editorOffset.left;
791
+ var editorbottom = editorTop + editorOffset.height - tooltipHeight;
792
  var toolBarTop = editorTop;
793
  var bound = t.getBounds(range);
794
 
798
  }
799
 
800
  var boundTop = bound.top - 15;
801
+
 
802
  // Set top of toolbar
803
+ if( boundTop - tooltipHeight < 0 && bound.bottom > -5){
 
 
804
  toolBarTop = bound.bottom + tooltipHeight + 15;
805
+ }else if( editorbottom - 30 < 0 ){
806
+ toolBarTop = editorbottom + 20;
807
+ }else if( toolBarTop - tooltipHeight < 0 ){
808
+ toolBarTop = tooltipHeight + 10;
809
  }
810
 
811
  // Show Toolbar
816
  // Set top of toolbar
817
  toolBar.css('top', toolBarTop);
818
 
 
 
 
 
819
  // Set left of toobar
820
  var docW = jQuery(window).width() - 10;
821
  var toolW = toolBar.width();
822
+ var edW = t.editor.width();
823
 
824
+ if(toolW > edW){
825
+ editorLeft = editorLeft - (toolW - edW) / 2
826
+ }
827
+
828
  toolBar.css('left', editorLeft+'px');
829
 
830
  var tooltipLeft = toolBar.offset().left;
1148
 
1149
  }
1150
 
1151
+ buildfontBtnHandler(item){
1152
+ var t = this;
1153
+
1154
+ var select = t.buildDropdown(item);
1155
+
1156
+ jQuery(item).on('change', function(){
1157
+ pagelayer_link_font_family(jQuery(this));
1158
+ });
1159
+
1160
+ }
1161
+
1162
  setLinkHandler(){
1163
  var t = this,
1164
  documentSelection = t.doc.getSelection(),
js/properties.js CHANGED
@@ -2551,7 +2551,7 @@ function pagelayer_make_editable(jEle, e){
2551
  pagelayer_set_atts(pEle, prop, val);
2552
 
2553
  // Update the property
2554
- var input = pagelayer.$$('[pagelayer-elp-name='+prop+']').find('input,textarea,.trumbowyg-editor');
2555
  //console.log(input);
2556
 
2557
  if(input.length > 0){
@@ -3631,54 +3631,7 @@ function pagelayer_elp_font_family(row, prop){
3631
 
3632
  row.find('select').on('change', function(){
3633
 
3634
- var sEle = jQuery(this);
3635
- var value = sEle.val();
3636
-
3637
- if(sEle.val() == 'Default'){
3638
- return;
3639
- }
3640
-
3641
- value = value.replace(' ', '+');
3642
-
3643
- switch(sEle.find("option:selected").attr('type')){
3644
- case 'google':
3645
- if(jQuery('#pagelayer-google-fonts').length == 0){
3646
-
3647
- jQuery('head').append('<link id="pagelayer-google-fonts" href="https://fonts.googleapis.com/css?family='+value+':100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">');
3648
-
3649
- }else{
3650
-
3651
- var url = jQuery('#pagelayer-google-fonts').attr('href');
3652
- if(url.indexOf(value) == -1){
3653
- url = url+'|'+value+':100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i';
3654
- jQuery('#pagelayer-google-fonts').attr('href', url);
3655
- }
3656
-
3657
- }
3658
- break;
3659
-
3660
- case 'custom':
3661
- if(!pagelayer_empty(jQuery('style[id='+value+'_plf]').length)){
3662
- break;
3663
- }
3664
- jQuery.ajax({
3665
- url: pagelayer_ajax_url+'&action=pagelayer_custom_font',
3666
- type: 'POST',
3667
- dataType: 'json',
3668
- data: {
3669
- 'pagelayer_nonce': pagelayer_ajax_nonce,
3670
- 'font_name': value
3671
- },
3672
- success: function(data) {
3673
- if('style' in data){
3674
- jQuery('body').append(data['style']);
3675
- }
3676
- }
3677
- });
3678
- break;
3679
-
3680
- }
3681
-
3682
  _pagelayer_set_atts(row, sEle.val());// Save and Render
3683
 
3684
  });
@@ -3822,47 +3775,7 @@ function pagelayer_elp_typography(row, prop){
3822
  row.find('.pagelayer-elp-typo-input').on('change', function(e){
3823
  var jEle = jQuery(e.target);
3824
 
3825
- var value = jEle.val();
3826
- value = value.replace(' ', '+');
3827
- var t = jEle.find("option:selected").attr('type');
3828
-
3829
- switch(t){
3830
- case 'google':
3831
- if(jQuery('#pagelayer-google-fonts').length == 0){
3832
- if(value==''){
3833
- return;
3834
- }
3835
- jQuery('head').append('<link id="pagelayer-google-fonts" href="https://fonts.googleapis.com/css?family='+value+':100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">');
3836
-
3837
- }else{
3838
- var url = jQuery('#pagelayer-google-fonts').attr('href');
3839
- if(url.indexOf(value) == -1){
3840
- url = url+'|'+value+':100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i';
3841
- jQuery('#pagelayer-google-fonts').attr('href', url);
3842
- }
3843
- }
3844
- break;
3845
-
3846
- case 'custom':
3847
- if(!pagelayer_empty(jQuery('style[id='+value+'_plf]').length)){
3848
- break;
3849
- }
3850
- jQuery.ajax({
3851
- url: pagelayer_ajax_url+'&action=pagelayer_custom_font',
3852
- type: 'POST',
3853
- dataType: 'json',
3854
- data: {
3855
- 'pagelayer_nonce': pagelayer_ajax_nonce,
3856
- 'font_name': value
3857
- },
3858
- success: function(data) {
3859
- if('style' in data){
3860
- jQuery('body').append(data['style']);
3861
- }
3862
- }
3863
- });
3864
- break;
3865
- }
3866
 
3867
  val = [];
3868
  row.find('.pagelayer-elp-typo-input').each(function(){
@@ -4666,4 +4579,54 @@ function pagelayer_properties_filter(property){
4666
  var propTypeDefault = ['image', 'text', 'editor', 'textarea', 'checkbox', 'access', 'modal', 'group', 'radio', 'postCategory', 'postTags', 'postDate'];
4667
 
4668
  return (jQuery.inArray(property, propTypeDefault) == -1)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4669
  }
2551
  pagelayer_set_atts(pEle, prop, val);
2552
 
2553
  // Update the property
2554
+ var input = pagelayer.$$('[pagelayer-element-id='+pagelayer_id(pEle)+']').find('[pagelayer-elp-name='+prop+']').find('input,textarea,.trumbowyg-editor');
2555
  //console.log(input);
2556
 
2557
  if(input.length > 0){
3631
 
3632
  row.find('select').on('change', function(){
3633
 
3634
+ pagelayer_link_font_family(jQuery(this));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3635
  _pagelayer_set_atts(row, sEle.val());// Save and Render
3636
 
3637
  });
3775
  row.find('.pagelayer-elp-typo-input').on('change', function(e){
3776
  var jEle = jQuery(e.target);
3777
 
3778
+ pagelayer_link_font_family(jEle);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3779
 
3780
  val = [];
3781
  row.find('.pagelayer-elp-typo-input').each(function(){
4579
  var propTypeDefault = ['image', 'text', 'editor', 'textarea', 'checkbox', 'access', 'modal', 'group', 'radio', 'postCategory', 'postTags', 'postDate'];
4580
 
4581
  return (jQuery.inArray(property, propTypeDefault) == -1)
4582
+ }
4583
+
4584
+ // Link font family
4585
+ function pagelayer_link_font_family(sEle){
4586
+
4587
+ var value = sEle.val();
4588
+
4589
+ if(sEle.val() == 'Default'){
4590
+ return;
4591
+ }
4592
+
4593
+ value = value.replace(' ', '+');
4594
+ var t = sEle.find("option:selected").attr('type');
4595
+ switch(t){
4596
+ case 'google':
4597
+ if(jQuery('#pagelayer-google-fonts').length == 0){
4598
+ if(value==''){
4599
+ return;
4600
+ }
4601
+ jQuery('head').append('<link id="pagelayer-google-fonts" href="https://fonts.googleapis.com/css?family='+value+':100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">');
4602
+
4603
+ }else{
4604
+ var url = jQuery('#pagelayer-google-fonts').attr('href');
4605
+ if(url.indexOf(value) == -1){
4606
+ url = url+'|'+value+':100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i';
4607
+ jQuery('#pagelayer-google-fonts').attr('href', url);
4608
+ }
4609
+ }
4610
+ break;
4611
+
4612
+ case 'custom':
4613
+ if(!pagelayer_empty(jQuery('style[id='+value+'_plf]').length)){
4614
+ break;
4615
+ }
4616
+ jQuery.ajax({
4617
+ url: pagelayer_ajax_url+'&action=pagelayer_custom_font',
4618
+ type: 'POST',
4619
+ dataType: 'json',
4620
+ data: {
4621
+ 'pagelayer_nonce': pagelayer_ajax_nonce,
4622
+ 'font_name': value
4623
+ },
4624
+ success: function(data) {
4625
+ if('style' in data){
4626
+ jQuery('body').append(data['style']);
4627
+ }
4628
+ }
4629
+ });
4630
+ break;
4631
+ }
4632
  }
js/widgets.js CHANGED
@@ -454,7 +454,7 @@ function pagelayer_render_pl_image_slider(el){
454
  ul += '<li class="pagelayer-slider-item">';
455
 
456
  if(is_link){
457
- var link = (el.atts['link_type'] == 'media_file' ? url : (el.tmp['link'] || ''))
458
  ul += '<a href="'+link+'">';
459
  }
460
 
454
  ul += '<li class="pagelayer-slider-item">';
455
 
456
  if(is_link){
457
+ var link = (el.atts['link_type'] == 'media_file' ? (!pagelayer_empty(img_urls[x]) ? img_urls[x] : url) : (el.tmp['link'] || ''))
458
  ul += '<a href="'+link+'">';
459
  }
460
 
main/ajax.php CHANGED
@@ -220,6 +220,7 @@ function pagelayer_save_content(){
220
 
221
  $post['comment_status'] = !empty($_REQUEST['comment_status']) ? 'open' : 'closed';
222
  $post['ping_status'] = !empty($_REQUEST['ping_status']) ? 'open' : 'closed';
 
223
 
224
  if(!empty($post['post_status']) && $post['post_status'] == 'publish'){
225
 
220
 
221
  $post['comment_status'] = !empty($_REQUEST['comment_status']) ? 'open' : 'closed';
222
  $post['ping_status'] = !empty($_REQUEST['ping_status']) ? 'open' : 'closed';
223
+ $post['post_status'] = empty($post['post_status']) ? $_post->post_status : $post['post_status'];
224
 
225
  if(!empty($post['post_status']) && $post['post_status'] == 'publish'){
226
 
main/class.php CHANGED
@@ -51,6 +51,7 @@ class PageLayer{
51
  // Runtime fonts
52
  var $runtime_fonts = array();
53
  var $fonts_sent = array();
 
54
 
55
  // Array of all the template paths
56
  var $all_template_paths = array();
@@ -115,6 +116,8 @@ class PageLayer{
115
  'b' => ['name' => 'Bold', 'sel' => 'strong, b'],
116
  'i' => ['name' => 'Italics', 'sel' => 'em, i'],
117
  ];
 
 
118
  }
119
 
120
  function load_extra_languages(){
51
  // Runtime fonts
52
  var $runtime_fonts = array();
53
  var $fonts_sent = array();
54
+ var $system_fonts = array();
55
 
56
  // Array of all the template paths
57
  var $all_template_paths = array();
116
  'b' => ['name' => 'Bold', 'sel' => 'strong, b'],
117
  'i' => ['name' => 'Italics', 'sel' => 'em, i'],
118
  ];
119
+
120
+ $this->system_fonts = ['Arial', 'Arial Black', 'Courier', 'Georgia', 'Helvetica', 'impact', 'Roboto Slab', 'Tahoma', 'Times New Roman', 'Trebuchet MS', 'Verdana'];
121
  }
122
 
123
  function load_extra_languages(){
main/font-options.php CHANGED
@@ -43,6 +43,9 @@ if(!empty($query)){
43
  }
44
  }
45
 
 
 
 
46
  // Fonts
47
  $pagelayer->fonts['google'] = ['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'];
48
 
43
  }
44
  }
45
 
46
+ // System fonts
47
+ $pagelayer->fonts['system'] = $pagelayer->system_fonts;
48
+
49
  // Fonts
50
  $pagelayer->fonts['google'] = ['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'];
51
 
main/shortcode_functions.php CHANGED
@@ -621,6 +621,31 @@ function pagelayer_render_shortcode($atts, $content = '', $tag = '', $inner_bloc
621
  }
622
 
623
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
624
 
625
  $div = $node->html();
626
  //die($div);
@@ -1077,7 +1102,7 @@ function pagelayer_sc_image_slider(&$el){
1077
 
1078
  // Any Link ?
1079
  if(!empty($el['atts']['link_type'])){
1080
- $link = ($el['atts']['link_type'] == 'media_file' ? $final_urls[$v] : @$el['tmp']['link']);
1081
  $li .= '<a href="'.$link.'">';
1082
  }
1083
 
621
  }
622
 
623
  }
624
+
625
+ // Get font family form inline style
626
+ foreach($node->query('[style]') as $snode){
627
+ $ss = $snode->attr('style');
628
+
629
+ if(strpos($ss, 'font-family') === false){
630
+ continue;
631
+ }
632
+
633
+ $ss = explode(';', html_entity_decode($snode->attr('style')));
634
+ foreach($ss as $sss){
635
+
636
+ if(strpos($sss, 'font-family') === false){
637
+ continue;
638
+ }
639
+
640
+ $ff = explode(':', $sss);
641
+ $val = trim( trim($ff[1]), '"' );
642
+ $fw = array('100', '100i', '200', '200i', '300', '300i', '400', '400i', '500', '500i', '600', '600i', '700', '700i', '800', '800i', '900', '900i');
643
+
644
+ foreach($fw as $ww){
645
+ $pagelayer->runtime_fonts[$val][$ww] = $ww;
646
+ }
647
+ }
648
+ }
649
 
650
  $div = $node->html();
651
  //die($div);
1102
 
1103
  // Any Link ?
1104
  if(!empty($el['atts']['link_type'])){
1105
+ $link = ($el['atts']['link_type'] == 'media_file' ? (!empty($image['url']) ? $image['url'] : $final_urls[$v]) : @$el['tmp']['link']);
1106
  $li .= '<a href="'.$link.'">';
1107
  }
1108
 
main/shortcodes.php CHANGED
@@ -75,7 +75,7 @@ if(!defined('PAGELAYER_VERSION')) {
75
 
76
  */
77
 
78
- // Example o0f 'addAttr' or 'addClass'
79
  /*
80
 
81
  // Set the value to the parent element
@@ -2870,7 +2870,7 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_heading', array(
2870
  'label' => __pl('Edit Title'),
2871
  'default' => '<h2>Your Heading</h2>',
2872
  'desc' => __pl('Edit the heading here'),
2873
- 'e' => [ 'v', 'h', 'f', 'c'],
2874
  'edit' => '.pagelayer-heading-holder', // Edit the text and also mirror the same
2875
  ),
2876
  'link' => array(
@@ -9422,6 +9422,8 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_post_props', array(
9422
  'postExcerpt' => array(
9423
  'post_excerpt' => array(
9424
  'type' => 'textarea',
 
 
9425
  'label' => __pl('write_an_excerpt'),
9426
  )
9427
  ),
75
 
76
  */
77
 
78
+ // Example of 'addAttr' or 'addClass'
79
  /*
80
 
81
  // Set the value to the parent element
2870
  'label' => __pl('Edit Title'),
2871
  'default' => '<h2>Your Heading</h2>',
2872
  'desc' => __pl('Edit the heading here'),
2873
+ 'e' => [ 'v', 'h', 'f', 'c', 'r'],
2874
  'edit' => '.pagelayer-heading-holder', // Edit the text and also mirror the same
2875
  ),
2876
  'link' => array(
9422
  'postExcerpt' => array(
9423
  'post_excerpt' => array(
9424
  'type' => 'textarea',
9425
+ 'default' => ( empty($post->post_excerpt) ? '' : $post->post_excerpt),
9426
+ 'export-def' => 1,
9427
  'label' => __pl('write_an_excerpt'),
9428
  )
9429
  ),
pagelayer.php CHANGED
@@ -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.5.3
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.5.4
7
  Author: Pagelayer Team
8
  Author URI: https://pagelayer.com/
9
  License: LGPL v2.1
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: page builder, editor, drag-and-drop, landing page, replace image, pagelaye
4
  Requires at least: 4.7
5
  Tested up to: 5.8
6
  Requires PHP: 5.5
7
- Stable tag: 1.5.3
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.5.3 (July 28, 2021) =
113
  * [Bug-Fix] In some cases there was some js error occurred after the last version. This is fixed.
114
 
4
  Requires at least: 4.7
5
  Tested up to: 5.8
6
  Requires PHP: 5.5
7
+ Stable tag: 1.5.4
8
  License: LGPL v2.1
9
  License URI: http://www.gnu.org/licenses/lgpl-2.1.html
10
 
109
 
110
  == Changelog ==
111
 
112
+ = 1.5.4 (Aug 05, 2021) =
113
+ * [Improvement] The Inline editor position has been further improved for the better user experience.
114
+ * [Improvement] Added system fonts to Typography font list.
115
+ * [Bug-Fix] While using Pagelayer template the WordPress Page Break was not working properly. This is fixed.
116
+ * [Bug-Fix] The linked media file was the thumbnail image if image size thumbnail was selected in the Image slider widget. This is fixed.
117
+ * [Bug-Fix] In some cases the review widget was not working properly when editing inline. This is fixed.
118
+ * [Bug-Fix] Post status used to be changed to draft when updating Pagelayer popup template via Pagelayer editor. This is fixed.
119
+ * [Bug-Fix] In certain cases the inline editor font family was not working properly. This is fixed.
120
+ * [Bug-Fix] The blank post excerpt was not updated properly. This is fixed.
121
+ * [Bug-Fix] In some cases, page scroll was added because of the width of the table. This is fixed.
122
+ * [Bug-Fix] After adding the link, the inline editor was unable to edit the image and icon box contents. This is fixed.
123
+
124
  = 1.5.3 (July 28, 2021) =
125
  * [Bug-Fix] In some cases there was some js error occurred after the last version. This is fixed.
126