@innovastudio/contentbox 1.0.31 → 1.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -233,7 +233,7 @@ class Dom$1 {
233
233
 
234
234
  removeElement(elm) {
235
235
  if (elm) elm.parentNode.removeChild(elm);
236
- } // source: http://stackoverflow.com/questions/1349404/generate-a-string-of-5-random-characters-in-javascript
236
+ } // http://stackoverflow.com/questions/1349404/generate-a-string-of-5-random-characters-in-javascript
237
237
 
238
238
 
239
239
  uniqueId() {
@@ -311,7 +311,7 @@ class SideBar {
311
311
  this.builderStuff = builderStuff;
312
312
 
313
313
  if (this.builder.useSidebar) {
314
- html += '<div class="is-sidebar active" style="transform: translate3d(0,0,0);display: flex;flex-direction: column;">';
314
+ html += '<div class="is-sidebar active" style="transform: translate3d(0,0,0);display: flex;flex-direction: column;opacity:opacity: 0.0001;">';
315
315
  var sideIndex = 0;
316
316
  this.builder.sidebarData.buttons.map(button => {
317
317
  if (button.name == 'section') {
@@ -1087,6 +1087,7 @@ class SideBar {
1087
1087
 
1088
1088
  .is-more-categories {
1089
1089
  display: none;
1090
+ flex-flow: wrap;
1090
1091
  position: absolute;
1091
1092
  width: 400px;
1092
1093
  box-sizing: border-box;
@@ -1119,13 +1120,13 @@ class SideBar {
1119
1120
  background:#eee;
1120
1121
  } */
1121
1122
  .is-more-categories.active {
1122
- display: block;
1123
+ display: flex;
1123
1124
  }
1124
-
1125
+
1126
+ /*
1125
1127
  .is-category-list {visibility:hidden}
1126
1128
  .is-more-categories {visibility:hidden}
1127
-
1128
-
1129
+ */
1129
1130
 
1130
1131
  /* Responsive */
1131
1132
  .is-category-list > div > a.more-basic {display:none}
@@ -1227,6 +1228,21 @@ class SideBar {
1227
1228
  <a href="" data-cat="115">${out('Help, FAQ')}</a>
1228
1229
  <a href="" data-cat="116">${out('Contact')}</a>
1229
1230
  <a href="" data-cat="117" class="static-section">${out('Footer')}</a>
1231
+
1232
+ <div class="template-extension" style="display:none">
1233
+ <!--
1234
+ <div style="font-weight: 600;padding: 15px 0 10px 19px;width: 100%;position: relative !important;border-top: rgb(0 0 0 / 4%) 1px solid;">
1235
+ Writing Set
1236
+ </div>
1237
+ <div>
1238
+ <a href="" data-cat="102">${out('General')}</a>
1239
+ <a href="" data-cat="108">${out('Agency')}</a>
1240
+ <a href="" data-cat="114">${out('Travel')}</a>
1241
+ <a href="" data-cat="116">${out('Food')}</a>
1242
+ </div>
1243
+ -->
1244
+ </div>
1245
+
1230
1246
  </div>
1231
1247
 
1232
1248
  <div class="is-design-list">
@@ -1338,13 +1354,15 @@ class SideBar {
1338
1354
  elm = document.querySelector('#morebasic');
1339
1355
  tab = elm.querySelector('[data-cat="' + defaultCat + '"]');
1340
1356
  if(tab) addClass(tab,'active');
1341
-
1357
+
1358
+ /*
1342
1359
  elm = document.querySelector('.is-category-list');
1343
1360
  elm.style.visibility = 'visible';
1344
1361
  var elms = document.querySelectorAll('.is-more-categories');
1345
1362
  elms.forEach(function(elm){
1346
1363
  elm.style.visibility = 'visible';
1347
1364
  });
1365
+ */
1348
1366
 
1349
1367
  var nIndex = 1;
1350
1368
  var path = '${this.builder.designPath}';
@@ -2181,7 +2199,7 @@ class EditSection {
2181
2199
  activeSection.parentNode.insertBefore(activeSection, currPrev); //Trigger Render event
2182
2200
 
2183
2201
  this.builder.settings.onRender();
2184
- this.builder.scrollTo(activeSection);
2202
+ this.builder.scrollTo(activeSection, 600);
2185
2203
  }
2186
2204
  }
2187
2205
 
@@ -2200,7 +2218,7 @@ class EditSection {
2200
2218
  activeSection.parentNode.insertBefore(currNext, activeSection); //Trigger Render event
2201
2219
 
2202
2220
  this.builder.settings.onRender();
2203
- this.builder.scrollTo(activeSection);
2221
+ this.builder.scrollTo(activeSection, 600);
2204
2222
  }
2205
2223
 
2206
2224
  return false;
@@ -2213,7 +2231,7 @@ class EditSection {
2213
2231
  activeSection.parentNode.insertBefore(activeSection, refSection); //Trigger Render event
2214
2232
 
2215
2233
  this.builder.settings.onRender();
2216
- this.builder.scrollTo(activeSection);
2234
+ this.builder.scrollTo(activeSection, 600);
2217
2235
  }
2218
2236
 
2219
2237
  sectionBottom() {
@@ -2224,7 +2242,7 @@ class EditSection {
2224
2242
  activeSection.parentNode.insertBefore(activeSection, last.nextElementSibling); //Trigger Render event
2225
2243
 
2226
2244
  this.builder.settings.onRender();
2227
- this.builder.scrollTo(activeSection);
2245
+ this.builder.scrollTo(activeSection, 600);
2228
2246
  }
2229
2247
 
2230
2248
  sectionDuplicate() {
@@ -2278,7 +2296,7 @@ class EditSection {
2278
2296
 
2279
2297
  this.builder.settings.onRender();
2280
2298
  this.builder.hideModal(this.modalEditSection);
2281
- this.builder.scrollTo(section);
2299
+ this.builder.scrollTo(section, 600);
2282
2300
  }
2283
2301
 
2284
2302
  sectionAnimStart(s) {
@@ -2303,15 +2321,15 @@ class EditSection {
2303
2321
  activeSection.setAttribute('data-400-bottom', 'transform:translateX(0%) translateY(0%) scale(1)');
2304
2322
  }
2305
2323
 
2306
- let enimEnd = activeSection.getAttribute('data-anim-end');
2324
+ activeSection.setAttribute('data-anim-start', s);
2325
+ let animEnd = activeSection.getAttribute('data-anim-end');
2307
2326
 
2308
- if (enimEnd === 'overlap') {
2327
+ if (animEnd === 'overlap') {
2309
2328
  activeSection.setAttribute('data-smooth-scrolling', 'off');
2310
2329
  } else {
2311
2330
  activeSection.removeAttribute('data-smooth-scrolling');
2312
- }
2331
+ } //Trigger Render event
2313
2332
 
2314
- activeSection.setAttribute('data-anim-start', s); //Trigger Render event
2315
2333
 
2316
2334
  this.builder.settings.onRender();
2317
2335
  }
@@ -2343,15 +2361,15 @@ class EditSection {
2343
2361
  activeSection.setAttribute('data-top-bottom', 'transform:translateX(0%) translateY(100%) scale(0.5)');
2344
2362
  }
2345
2363
 
2346
- let enimEnd = activeSection.getAttribute('data-anim-end');
2364
+ activeSection.setAttribute('data-anim-end', s);
2365
+ let animEnd = activeSection.getAttribute('data-anim-end');
2347
2366
 
2348
- if (enimEnd === 'overlap') {
2367
+ if (animEnd === 'overlap') {
2349
2368
  activeSection.setAttribute('data-smooth-scrolling', 'off');
2350
2369
  } else {
2351
2370
  activeSection.removeAttribute('data-smooth-scrolling');
2352
- }
2371
+ } //Trigger Render event
2353
2372
 
2354
- activeSection.setAttribute('data-anim-end', s); //Trigger Render event
2355
2373
 
2356
2374
  this.builder.settings.onRender();
2357
2375
  }
@@ -2380,7 +2398,7 @@ class EditSection {
2380
2398
 
2381
2399
 
2382
2400
  this.builder.settings.onRender();
2383
- this.builder.scrollTo(activeSection);
2401
+ this.builder.scrollTo(activeSection, 600);
2384
2402
  }
2385
2403
 
2386
2404
  boxSpacing(s) {
@@ -8091,34 +8109,36 @@ class EditBox {
8091
8109
  const btnBoxTypos = modalEditBox.querySelectorAll('.cmd-box-typography');
8092
8110
  btnBoxTypos.forEach(btnBoxTypo => {
8093
8111
  btnBoxTypo.addEventListener('click', () => {
8094
- this.builder.hideModal(modalEditBox); //Open divSidebarTypography
8112
+ setTimeout(() => {
8113
+ this.builder.hideModal(modalEditBox); //Open divSidebarTypography
8095
8114
 
8096
- builderStuff.querySelector('.is-sidebar > button[data-command="typography"]').click(); //Overide
8097
- //--- overlay (this needs overlay to prevent activeBox change) ---
8115
+ builderStuff.querySelector('.is-sidebar > button[data-command="typography"]').click(); //Overide
8116
+ //--- overlay (this needs overlay to prevent activeBox change) ---
8098
8117
 
8099
- const overlayHtml = '<div class="is-sidebar-overlay" style="position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(255,255,255,0.000001);z-index: 1000;"></div>';
8100
- dom$G.appendHtml(builderStuff, overlayHtml);
8101
- const modalOverlay = builderStuff.querySelector('.is-sidebar-overlay');
8102
- if (modalOverlay) modalOverlay.addEventListener('click', () => {
8103
- // Close all opened sidebar
8104
- const overlay = document.querySelector('.is-sidebar-overlay');
8118
+ const overlayHtml = '<div class="is-sidebar-overlay" style="position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(255,255,255,0.000001);z-index: 1000;"></div>';
8119
+ dom$G.appendHtml(builderStuff, overlayHtml);
8120
+ const modalOverlay = builderStuff.querySelector('.is-sidebar-overlay');
8121
+ if (modalOverlay) modalOverlay.addEventListener('click', () => {
8122
+ // Close all opened sidebar
8123
+ const overlay = document.querySelector('.is-sidebar-overlay');
8105
8124
 
8106
- if (overlay) {
8107
- overlay.remove();
8108
- document.body.style.overflowY = '';
8109
- }
8125
+ if (overlay) {
8126
+ overlay.remove();
8127
+ document.body.style.overflowY = '';
8128
+ }
8110
8129
 
8111
- document.querySelectorAll('.is-sidebar-button.active').forEach(elm => {
8112
- dom$G.removeClass(elm, 'active');
8113
- });
8114
- document.querySelectorAll('.is-sidebar-content.active').forEach(elm => {
8115
- dom$G.removeClass(elm, 'active');
8116
- });
8117
- }); //--- /overlay ---
8130
+ document.querySelectorAll('.is-sidebar-button.active').forEach(elm => {
8131
+ dom$G.removeClass(elm, 'active');
8132
+ });
8133
+ document.querySelectorAll('.is-sidebar-content.active').forEach(elm => {
8134
+ dom$G.removeClass(elm, 'active');
8135
+ });
8136
+ }); //--- /overlay ---
8118
8137
 
8119
- builderStuff.querySelector('.is-sidebar > button[data-command="typography"]').setAttribute('data-applyto', 'box');
8120
- builderStuff.querySelector('.typo-target-default').style.display = 'none';
8121
- builderStuff.querySelector('.typo-target-box').style.display = 'flex';
8138
+ builderStuff.querySelector('.is-sidebar > button[data-command="typography"]').setAttribute('data-applyto', 'box');
8139
+ builderStuff.querySelector('.typo-target-default').style.display = 'none';
8140
+ builderStuff.querySelector('.typo-target-box').style.display = 'flex';
8141
+ }, 10); // delay to separate from currect click
8122
8142
  });
8123
8143
  });
8124
8144
  const btnBoxSizes = modalEditBox.querySelectorAll('.cmd-box-size');
@@ -55692,6 +55712,7 @@ class ColumnTool {
55692
55712
 
55693
55713
  this.showHideLockIndicator(cell);
55694
55714
  this.builder.element.applyBehavior(cell);
55715
+ this.columnMore.style.display = '';
55695
55716
  e.preventDefault();
55696
55717
  }); // Open Column Settings
55697
55718
 
@@ -68421,6 +68442,8 @@ class ContentBuilder {
68421
68442
  this.colTool.showColumnTool(this.activeCol);
68422
68443
  }
68423
68444
  }
68445
+
68446
+ this.util.checkEmpty(); // for multiple instances check
68424
68447
  },
68425
68448
  onAdd: evt => {
68426
68449
  var itemEl = evt.item;
@@ -69601,11 +69624,13 @@ class ContentBuilder {
69601
69624
  } else if (url.toLowerCase().indexOf('youtube.com') !== -1 || url.toLowerCase().indexOf('vimeo.com') !== -1) {
69602
69625
  this.lightbox.openExternalVideo(url, 'dark', color);
69603
69626
  } else {
69604
- // Will go to the link
69605
- const answer = window.confirm(this.util.out('Do you really want to leave?')); // cancel the navigation and stay on the same page
69627
+ if (url.indexOf('#') === 0) ; else {
69628
+ // Will go to the link
69629
+ const answer = window.confirm(this.util.out('Do you really want to leave?')); // cancel the navigation and stay on the same page
69606
69630
 
69607
- if (!answer) {
69608
- return false;
69631
+ if (!answer) {
69632
+ return false;
69633
+ }
69609
69634
  }
69610
69635
 
69611
69636
  window.location.href = url;
@@ -69724,20 +69749,31 @@ class ContentBuilder {
69724
69749
  return false;
69725
69750
  } else {
69726
69751
  // Will go to the link
69727
- const answer = window.confirm(this.util.out('Do you really want to leave?')); // cancel the navigation and stay on the same page
69752
+ if (url.indexOf('#') === 0) ; else {
69753
+ const answer = window.confirm(this.util.out('Do you really want to leave?')); // cancel the navigation and stay on the same page
69728
69754
 
69729
- if (!answer) {
69730
- e.preventDefault();
69731
- return false;
69755
+ if (!answer) {
69756
+ e.preventDefault();
69757
+ return false;
69758
+ }
69732
69759
  }
69733
69760
  }
69734
69761
  } else {
69735
- const answer = window.confirm(this.util.out('Do you really want to leave?')); // cancel the navigation and stay on the same page
69762
+ let url = link.getAttribute('href');
69736
69763
 
69737
- if (!answer) {
69764
+ if (!url) {
69738
69765
  e.preventDefault();
69739
69766
  return false;
69740
69767
  }
69768
+
69769
+ if (url.indexOf('#') === 0) ; else {
69770
+ const answer = window.confirm(this.util.out('Do you really want to leave?')); // cancel the navigation and stay on the same page
69771
+
69772
+ if (!answer) {
69773
+ e.preventDefault();
69774
+ return false;
69775
+ }
69776
+ }
69741
69777
  }
69742
69778
  }
69743
69779
  } // e.preventDefault();
@@ -71655,6 +71691,7 @@ class ContentBox {
71655
71691
  undoContainerOnly: false,
71656
71692
  absolutePath: false,
71657
71693
  zoom: 0.6,
71694
+ contentStyleWithSample: false,
71658
71695
  contentStyles: {
71659
71696
  'data': {
71660
71697
  'categories': [
@@ -72628,6 +72665,979 @@ class ContentBox {
72628
72665
  }]
72629
72666
  }
72630
72667
  },
72668
+ contentStylesAlt: {
72669
+ 'data': {
72670
+ 'categories': [
72671
+ /*{ "id": 0, "desc": "Default" },*/
72672
+ {
72673
+ 'id': -1,
72674
+ 'desc': 'ALL'
72675
+ }, {
72676
+ 'id': 1,
72677
+ 'desc': 'Sans-serif & Sans-serif'
72678
+ }, {
72679
+ 'id': 2,
72680
+ 'desc': 'Serif & Serif'
72681
+ }, {
72682
+ 'id': 3,
72683
+ 'desc': 'Sans-serif & Serif'
72684
+ }, {
72685
+ 'id': 4,
72686
+ 'desc': 'Serif & Sans-serif'
72687
+ }, {
72688
+ 'id': 5,
72689
+ 'desc': 'Monospace & Monospace'
72690
+ }, {
72691
+ 'id': 6,
72692
+ 'desc': 'Monospace & Sans-serif'
72693
+ }, {
72694
+ 'id': 7,
72695
+ 'desc': 'Sans-serif & Monospace'
72696
+ }, {
72697
+ 'id': 8,
72698
+ 'desc': 'Display & Sans-serif'
72699
+ }, {
72700
+ 'id': 9,
72701
+ 'desc': 'Handwriting & Sans-serif'
72702
+ }, {
72703
+ 'id': 10,
72704
+ 'desc': 'Display & Serif'
72705
+ }, {
72706
+ 'id': 11,
72707
+ 'desc': 'Handwriting & Serif'
72708
+ }, {
72709
+ 'id': 12,
72710
+ 'desc': 'Display & Monospace'
72711
+ }, {
72712
+ 'id': 13,
72713
+ 'desc': 'Handwriting & Monospace'
72714
+ }, {
72715
+ 'id': 14,
72716
+ 'desc': 'Display & Display'
72717
+ }],
72718
+ 'styles': [{
72719
+ 'css': 'basetype-opensans.css',
72720
+ 'sectioncss': 'type-opensans.css',
72721
+ 'classname': 'type-opensans',
72722
+ 'img': 'type-opensans.jpg',
72723
+ 'category': 9,
72724
+ 'default': true,
72725
+ 'caption': 'Open Sans'
72726
+ }, {
72727
+ 'css': 'basetype-spectralsc-karma.css',
72728
+ 'sectioncss': 'type-spectralsc-karma.css',
72729
+ 'classname': 'type-spectralsc-karma',
72730
+ 'img': 'type-spectralsc-karma.jpg',
72731
+ 'category': 2,
72732
+ 'default': true,
72733
+ 'caption': 'Spectral SC & Karma'
72734
+ }, {
72735
+ 'css': 'basetype-alegreyasanssc-hind.css',
72736
+ 'sectioncss': 'type-alegreyasanssc-hind.css',
72737
+ 'classname': 'type-alegreyasanssc-hind',
72738
+ 'img': 'type-alegreyasanssc-hind.jpg',
72739
+ 'category': 1,
72740
+ 'default': true,
72741
+ 'caption': 'Alegreya Sans SC & Hind'
72742
+ }, {
72743
+ 'css': 'basetype-cabinsketch-montserrat.css',
72744
+ 'sectioncss': 'type-cabinsketch-montserrat.css',
72745
+ 'classname': 'type-cabinsketch-montserrat',
72746
+ 'img': 'type-cabinsketch-montserrat.jpg',
72747
+ 'category': 8,
72748
+ 'default': true,
72749
+ 'caption': 'Cabin Sketch & Montserrat'
72750
+ }, {
72751
+ 'css': 'basetype-anonymouspro-catamaran.css',
72752
+ 'sectioncss': 'type-anonymouspro-catamaran.css',
72753
+ 'classname': 'type-anonymouspro-catamaran',
72754
+ 'img': 'type-anonymouspro-catamaran.jpg',
72755
+ 'category': 6,
72756
+ 'default': true,
72757
+ 'caption': 'Anonymous Pro & Catamaran'
72758
+ }, {
72759
+ 'css': 'basetype-nothingyouc-ibmplexmono.css',
72760
+ 'sectioncss': 'type-nothingyouc-ibmplexmono.css',
72761
+ 'classname': 'type-nothingyouc-ibmplexmono',
72762
+ 'img': 'type-nothingyouc-ibmplexmono.jpg',
72763
+ 'category': 13,
72764
+ 'default': true,
72765
+ 'caption': 'Nothing You Could Do & IBM Plex Mono'
72766
+ }, {
72767
+ 'css': 'basetype-juliussansone-taviraj.css',
72768
+ 'sectioncss': 'type-juliussansone-taviraj.css',
72769
+ 'classname': 'type-juliussansone-taviraj',
72770
+ 'img': 'type-juliussansone-taviraj.jpg',
72771
+ 'category': 3,
72772
+ 'default': true,
72773
+ 'caption': 'Julius Sans One & Taviraj'
72774
+ }, {
72775
+ 'css': 'basetype-voltaire-sourcecodepro.css',
72776
+ 'sectioncss': 'type-voltaire-sourcecodepro.css',
72777
+ 'classname': 'type-voltaire-sourcecodepro',
72778
+ 'img': 'type-voltaire-sourcecodepro.jpg',
72779
+ 'category': 7,
72780
+ 'default': true,
72781
+ 'caption': 'Voltaire & Source Code Pro'
72782
+ }, {
72783
+ 'css': 'basetype-oregano-zillaslab.css',
72784
+ 'sectioncss': 'type-oregano-zillaslab.css',
72785
+ 'classname': 'type-oregano-zillaslab',
72786
+ 'img': 'type-oregano-zillaslab.jpg',
72787
+ 'category': 10,
72788
+ 'default': true,
72789
+ 'caption': 'Oregano & Zilla Slab'
72790
+ }, {
72791
+ 'css': 'basetype-anonymouspro.css',
72792
+ 'sectioncss': 'type-anonymouspro.css',
72793
+ 'classname': 'type-anonymouspro',
72794
+ 'img': 'type-anonymouspro.jpg',
72795
+ 'category': 5,
72796
+ 'default': false,
72797
+ 'caption': 'Anonymous Pro'
72798
+ }, {
72799
+ 'css': 'basetype-dancingscript-anonymouspro.css',
72800
+ 'sectioncss': 'type-dancingscript-anonymouspro.css',
72801
+ 'classname': 'type-dancingscript-anonymouspro',
72802
+ 'img': 'type-dancingscript-anonymouspro.jpg',
72803
+ 'category': 13,
72804
+ 'default': false,
72805
+ 'caption': 'Dancing Script & Anonymous Pro'
72806
+ }, {
72807
+ 'css': 'basetype-unicaone-cormorantgaramond.css',
72808
+ 'sectioncss': 'type-unicaone-cormorantgaramond.css',
72809
+ 'classname': 'type-unicaone-cormorantgaramond',
72810
+ 'img': 'type-unicaone-cormorantgaramond.jpg',
72811
+ 'category': 10,
72812
+ 'default': false,
72813
+ 'caption': 'Unica One & Cormorant Garamond'
72814
+ }, {
72815
+ 'css': 'basetype-allan-overpassmono.css',
72816
+ 'sectioncss': 'type-allan-overpassmono.css',
72817
+ 'classname': 'type-allan-overpassmono',
72818
+ 'img': 'type-allan-overpassmono.jpg',
72819
+ 'category': 12,
72820
+ 'default': false,
72821
+ 'caption': 'Allan & Overpass Mono'
72822
+ }, {
72823
+ 'css': 'basetype-averialibre-barlow.css',
72824
+ 'sectioncss': 'type-averialibre-barlow.css',
72825
+ 'classname': 'type-averialibre-barlow',
72826
+ 'img': 'type-averialibre-barlow.jpg',
72827
+ 'category': 8,
72828
+ 'default': false,
72829
+ 'caption': 'Averia Libre & Barlow'
72830
+ }, {
72831
+ 'css': 'basetype-merriweathersans-martel.css',
72832
+ 'sectioncss': 'type-merriweathersans-martel.css',
72833
+ 'classname': 'type-merriweathersans-martel',
72834
+ 'img': 'type-merriweathersans-martel.jpg',
72835
+ 'category': 3,
72836
+ 'default': false,
72837
+ 'caption': 'Merriweather Sans & Martel'
72838
+ }, {
72839
+ 'css': 'basetype-poppins.css',
72840
+ 'sectioncss': 'type-poppins.css',
72841
+ 'classname': 'type-poppins',
72842
+ 'img': 'type-poppins.jpg',
72843
+ 'category': 1,
72844
+ 'default': false,
72845
+ 'caption': 'Poppins'
72846
+ }, {
72847
+ 'css': 'basetype-specialelite-encodesans.css',
72848
+ 'sectioncss': 'type-specialelite-encodesans.css',
72849
+ 'classname': 'type-specialelite-encodesans',
72850
+ 'img': 'type-specialelite-encodesans.jpg',
72851
+ 'category': 8,
72852
+ 'default': false,
72853
+ 'caption': 'Special Elite & Encode Sans'
72854
+ }, {
72855
+ 'css': 'basetype-marcellussc-heebo.css',
72856
+ 'sectioncss': 'type-marcellussc-heebo.css',
72857
+ 'classname': 'type-marcellussc-heebo',
72858
+ 'img': 'type-marcellussc-heebo.jpg',
72859
+ 'category': 4,
72860
+ 'default': false,
72861
+ 'caption': 'Marcellus SC & Heebo'
72862
+ }, {
72863
+ 'css': 'basetype-oswald-cousine.css',
72864
+ 'sectioncss': 'type-oswald-cousine.css',
72865
+ 'classname': 'type-oswald-cousine',
72866
+ 'img': 'type-oswald-cousine.jpg',
72867
+ 'category': 7,
72868
+ 'default': false,
72869
+ 'caption': 'Oswald & Cousine'
72870
+ }, {
72871
+ 'css': 'basetype-oranienbaum-sourcesanspro.css',
72872
+ 'sectioncss': 'type-oranienbaum-sourcesanspro.css',
72873
+ 'classname': 'type-oranienbaum-sourcesanspro',
72874
+ 'img': 'type-oranienbaum-sourcesanspro.jpg',
72875
+ 'category': 4,
72876
+ 'default': false,
72877
+ 'caption': 'Oranienbaum & Source Sans Pro'
72878
+ }, {
72879
+ 'css': 'basetype-sriracha-arvo.css',
72880
+ 'sectioncss': 'type-sriracha-arvo.css',
72881
+ 'classname': 'type-sriracha-arvo',
72882
+ 'img': 'type-sriracha-arvo.jpg',
72883
+ 'category': 11,
72884
+ 'default': false,
72885
+ 'caption': 'Sriracha & Arvo'
72886
+ }, {
72887
+ 'css': 'basetype-merriweather.css',
72888
+ 'sectioncss': 'type-merriweather.css',
72889
+ 'classname': 'type-merriweather',
72890
+ 'img': 'type-merriweather.jpg',
72891
+ 'category': 2,
72892
+ 'default': false,
72893
+ 'caption': 'Merriweather'
72894
+ }, {
72895
+ 'css': 'basetype-badscript-rokkitt.css',
72896
+ 'sectioncss': 'type-badscript-rokkitt.css',
72897
+ 'classname': 'type-badscript-rokkitt',
72898
+ 'img': 'type-badscript-rokkitt.jpg',
72899
+ 'category': 11,
72900
+ 'default': false,
72901
+ 'caption': 'Bad Script & Rokkitt'
72902
+ }, {
72903
+ 'css': 'basetype-inconsolata.css',
72904
+ 'sectioncss': 'type-inconsolata.css',
72905
+ 'classname': 'type-inconsolata',
72906
+ 'img': 'type-inconsolata.jpg',
72907
+ 'category': 5,
72908
+ 'default': false,
72909
+ 'caption': 'Inconsolata'
72910
+ }, {
72911
+ 'css': 'basetype-novamono-robotomono.css',
72912
+ 'sectioncss': 'type-novamono-robotomono.css',
72913
+ 'classname': 'type-novamono-robotomono',
72914
+ 'img': 'type-novamono-robotomono.jpg',
72915
+ 'category': 5,
72916
+ 'default': false,
72917
+ 'caption': 'Nova Mono & Roboto Mono'
72918
+ }, {
72919
+ 'css': 'basetype-spacemono.css',
72920
+ 'sectioncss': 'type-spacemono.css',
72921
+ 'classname': 'type-spacemono',
72922
+ 'img': 'type-spacemono.jpg',
72923
+ 'category': 5,
72924
+ 'default': false,
72925
+ 'caption': 'Space Mono'
72926
+ }, {
72927
+ 'css': 'basetype-elsie-frankruhllibre.css',
72928
+ 'sectioncss': 'type-elsie-frankruhllibre.css',
72929
+ 'classname': 'type-elsie-frankruhllibre',
72930
+ 'img': 'type-elsie-frankruhllibre.jpg',
72931
+ 'category': 10,
72932
+ 'default': false,
72933
+ 'caption': 'Elsie & Frank Ruhl Libre'
72934
+ }, {
72935
+ 'css': 'basetype-playfairdisp-petitformalscr.css',
72936
+ 'sectioncss': 'type-playfairdisp-petitformalscr.css',
72937
+ 'classname': 'type-playfairdisp-petitformalscr',
72938
+ 'img': 'type-playfairdisp-petitformalscr.jpg',
72939
+ 'category': 2,
72940
+ 'default': false,
72941
+ 'caption': 'Playfair Display'
72942
+ }, {
72943
+ 'css': 'basetype-josefinsans-neuton.css',
72944
+ 'sectioncss': 'type-josefinsans-neuton.css',
72945
+ 'classname': 'type-josefinsans-neuton',
72946
+ 'img': 'type-josefinsans-neuton.jpg',
72947
+ 'category': 3,
72948
+ 'default': false,
72949
+ 'caption': 'Josefin Sans & Neuton'
72950
+ }, {
72951
+ 'css': 'basetype-stintultracon-inconsolata.css',
72952
+ 'sectioncss': 'type-stintultracon-inconsolata.css',
72953
+ 'classname': 'type-stintultracon-inconsolata',
72954
+ 'img': 'type-stintultracon-inconsolata.jpg',
72955
+ 'category': 12,
72956
+ 'default': false,
72957
+ 'caption': 'Stint Ultra Condensed & Inconsolata'
72958
+ }, {
72959
+ 'css': 'basetype-raleway-playfairdisplay.css',
72960
+ 'sectioncss': 'type-raleway-playfairdisplay.css',
72961
+ 'classname': 'type-raleway-playfairdisplay',
72962
+ 'img': 'type-raleway-playfairdisplay.jpg',
72963
+ 'category': 1,
72964
+ 'default': false,
72965
+ 'caption': 'Raleway'
72966
+ }, {
72967
+ 'css': 'basetype-ubuntumono-sourcecodepro.css',
72968
+ 'sectioncss': 'type-ubuntumono-sourcecodepro.css',
72969
+ 'classname': 'type-ubuntumono-sourcecodepro',
72970
+ 'img': 'type-ubuntumono-sourcecodepro.jpg',
72971
+ 'category': 5,
72972
+ 'default': false,
72973
+ 'caption': 'Ubuntu Mono & Source Code Pro'
72974
+ }, {
72975
+ 'css': 'basetype-sharetechmono-nunito.css',
72976
+ 'sectioncss': 'type-sharetechmono-nunito.css',
72977
+ 'classname': 'type-sharetechmono-nunito',
72978
+ 'img': 'type-sharetechmono-nunito.jpg',
72979
+ 'category': 6,
72980
+ 'default': false,
72981
+ 'caption': 'Share Tech Mono & Nunito'
72982
+ }, {
72983
+ 'css': 'basetype-lato.css',
72984
+ 'sectioncss': 'type-lato.css',
72985
+ 'classname': 'type-lato',
72986
+ 'img': 'type-lato.jpg',
72987
+ 'category': 1,
72988
+ 'default': false,
72989
+ 'caption': 'Lato'
72990
+ }, {
72991
+ 'css': 'basetype-pathwaygothicone-merriweather.css',
72992
+ 'sectioncss': 'type-pathwaygothicone-merriweather.css',
72993
+ 'classname': 'type-pathwaygothicone-merriweather',
72994
+ 'img': 'type-pathwaygothicone-merriweather.jpg',
72995
+ 'category': 3,
72996
+ 'default': false,
72997
+ 'caption': 'Pathway Gothic One & Merriweather'
72998
+ }, {
72999
+ 'css': 'basetype-forum-nanumgothiccoding.css',
73000
+ 'sectioncss': 'type-forum-nanumgothiccoding.css',
73001
+ 'classname': 'type-forum-nanumgothiccoding',
73002
+ 'img': 'type-forum-nanumgothiccoding.jpg',
73003
+ 'category': 12,
73004
+ 'default': false,
73005
+ 'caption': 'Forum & Nanum Gothic Coding'
73006
+ }, {
73007
+ 'css': 'basetype-bilbo-halant.css',
73008
+ 'sectioncss': 'type-bilbo-halant.css',
73009
+ 'classname': 'type-bilbo-halant',
73010
+ 'img': 'type-bilbo-halant.jpg',
73011
+ 'category': 11,
73012
+ 'default': false,
73013
+ 'caption': 'Bilbo & Halant'
73014
+ }, {
73015
+ 'css': 'basetype-hammersmithone-poppins.css',
73016
+ 'sectioncss': 'type-hammersmithone-poppins.css',
73017
+ 'classname': 'type-hammersmithone-poppins',
73018
+ 'img': 'type-hammersmithone-poppins.jpg',
73019
+ 'category': 1,
73020
+ 'default': false,
73021
+ 'caption': 'Hammersmith One & Poppins'
73022
+ }, {
73023
+ 'css': 'basetype-arimamadurai.css',
73024
+ 'sectioncss': 'type-arimamadurai.css',
73025
+ 'classname': 'type-arimamadurai',
73026
+ 'img': 'type-arimamadurai.jpg',
73027
+ 'category': 14,
73028
+ 'default': false,
73029
+ 'caption': 'Arima Madurai'
73030
+ }, {
73031
+ 'css': 'basetype-teko-muktamahee.css',
73032
+ 'sectioncss': 'type-teko-muktamahee.css',
73033
+ 'classname': 'type-teko-muktamahee',
73034
+ 'img': 'type-teko-muktamahee.jpg',
73035
+ 'category': 1,
73036
+ 'default': false,
73037
+ 'caption': 'Teko & Mukta Mahee'
73038
+ }, {
73039
+ 'css': 'basetype-heebo-ibmplexmono.css',
73040
+ 'sectioncss': 'type-heebo-ibmplexmono.css',
73041
+ 'classname': 'type-heebo-ibmplexmono',
73042
+ 'img': 'type-heebo-ibmplexmono.jpg',
73043
+ 'category': 7,
73044
+ 'default': false,
73045
+ 'caption': 'Heebo & IBM Plex Mono'
73046
+ }, {
73047
+ 'css': 'basetype-sairacon-thegirlnextdoor.css',
73048
+ 'sectioncss': 'type-sairacon-thegirlnextdoor.css',
73049
+ 'classname': 'type-sairacon-thegirlnextdoor',
73050
+ 'img': 'type-sairacon-thegirlnextdoor.jpg',
73051
+ 'category': 1,
73052
+ 'default': false,
73053
+ 'caption': 'Saira Condensed'
73054
+ }, {
73055
+ 'css': 'basetype-frankruhllibre-lato.css',
73056
+ 'sectioncss': 'type-frankruhllibre-lato.css',
73057
+ 'classname': 'type-frankruhllibre-lato',
73058
+ 'img': 'type-frankruhllibre-lato.jpg',
73059
+ 'category': 4,
73060
+ 'default': false,
73061
+ 'caption': 'Frank Ruhl Libre & Lato'
73062
+ }, {
73063
+ 'css': 'basetype-yantramanav-ibmplexserif.css',
73064
+ 'sectioncss': 'type-yantramanav-ibmplexserif.css',
73065
+ 'classname': 'type-yantramanav-ibmplexserif',
73066
+ 'img': 'type-yantramanav-ibmplexserif.jpg',
73067
+ 'category': 1,
73068
+ 'default': false,
73069
+ 'caption': 'Yantramanav & IBM Plex Serif'
73070
+ }, {
73071
+ 'css': 'basetype-quicksand-kalam.css',
73072
+ 'sectioncss': 'type-quicksand-kalam.css',
73073
+ 'classname': 'type-quicksand-kalam',
73074
+ 'img': 'type-quicksand-kalam.jpg',
73075
+ 'category': 1,
73076
+ 'default': false,
73077
+ 'caption': 'Quicksand & Kalam'
73078
+ }, {
73079
+ 'css': 'basetype-ibmplexmono.css',
73080
+ 'sectioncss': 'type-ibmplexmono.css',
73081
+ 'classname': 'type-ibmplexmono',
73082
+ 'img': 'type-ibmplexmono.jpg',
73083
+ 'category': 5,
73084
+ 'default': false,
73085
+ 'caption': 'IBM Plex Mono'
73086
+ }, {
73087
+ 'css': 'basetype-cinzeldecor-palanquin.css',
73088
+ 'sectioncss': 'type-cinzeldecor-palanquin.css',
73089
+ 'classname': 'type-cinzeldecor-palanquin',
73090
+ 'img': 'type-cinzeldecor-palanquin.jpg',
73091
+ 'category': 8,
73092
+ 'default': false,
73093
+ 'caption': 'Cinzel Decorative & Palanquin'
73094
+ }, {
73095
+ 'css': 'basetype-oswald-biryani.css',
73096
+ 'sectioncss': 'type-oswald-biryani.css',
73097
+ 'classname': 'type-oswald-biryani',
73098
+ 'img': 'type-oswald-biryani.jpg',
73099
+ 'category': 1,
73100
+ 'default': false,
73101
+ 'caption': 'Oswald & Biryani'
73102
+ }, {
73103
+ 'css': 'basetype-yanonekaff-josefinsans.css',
73104
+ 'sectioncss': 'type-yanonekaff-josefinsans.css',
73105
+ 'classname': 'type-yanonekaff-josefinsans',
73106
+ 'img': 'type-yanonekaff-josefinsans.jpg',
73107
+ 'category': 1,
73108
+ 'default': false,
73109
+ 'caption': 'Yanone Kaffeesatz & Josefin Sans'
73110
+ }, {
73111
+ 'css': 'basetype-abrilfatface-assistant.css',
73112
+ 'sectioncss': 'type-abrilfatface-assistant.css',
73113
+ 'classname': 'type-abrilfatface-assistant',
73114
+ 'img': 'type-abrilfatface-assistant.jpg',
73115
+ 'category': 8,
73116
+ 'default': false,
73117
+ 'caption': 'Abril Fatface & Assistant'
73118
+ }, {
73119
+ 'css': 'basetype-nanumgothiccod-firasanscon.css',
73120
+ 'sectioncss': 'type-nanumgothiccod-firasanscon.css',
73121
+ 'classname': 'type-nanumgothiccod-firasanscon',
73122
+ 'img': 'type-nanumgothiccod-firasanscon.jpg',
73123
+ 'category': 6,
73124
+ 'default': false,
73125
+ 'caption': 'Nanum Gothic Coding & Fira Sans Condensed'
73126
+ }, {
73127
+ 'css': 'basetype-inder-trirong.css',
73128
+ 'sectioncss': 'type-inder-trirong.css',
73129
+ 'classname': 'type-inder-trirong',
73130
+ 'img': 'type-inder-trirong.jpg',
73131
+ 'category': 3,
73132
+ 'default': false,
73133
+ 'caption': 'Inder & Trirong'
73134
+ }, {
73135
+ 'css': 'basetype-atma-tajawal.css',
73136
+ 'sectioncss': 'type-atma-tajawal.css',
73137
+ 'classname': 'type-atma-tajawal',
73138
+ 'img': 'type-atma-tajawal.jpg',
73139
+ 'category': 8,
73140
+ 'default': false,
73141
+ 'caption': 'Atma & Tajawal'
73142
+ }, {
73143
+ 'css': 'basetype-prata-hindsiliguri.css',
73144
+ 'sectioncss': 'type-prata-hindsiliguri.css',
73145
+ 'classname': 'type-prata-hindsiliguri',
73146
+ 'img': 'type-prata-hindsiliguri.jpg',
73147
+ 'category': 4,
73148
+ 'default': false,
73149
+ 'caption': 'Prata & Hind Siliguri'
73150
+ }, {
73151
+ 'css': 'basetype-federo-gothica1.css',
73152
+ 'sectioncss': 'type-federo-gothica1.css',
73153
+ 'classname': 'type-federo-gothica1',
73154
+ 'img': 'type-federo-gothica1.jpg',
73155
+ 'category': 1,
73156
+ 'default': false,
73157
+ 'caption': 'Federo & Gothic A1'
73158
+ }, {
73159
+ 'css': 'basetype-fjallaone-ibmplexserif.css',
73160
+ 'sectioncss': 'type-fjallaone-ibmplexserif.css',
73161
+ 'classname': 'type-fjallaone-ibmplexserif',
73162
+ 'img': 'type-fjallaone-ibmplexserif.jpg',
73163
+ 'category': 3,
73164
+ 'default': false,
73165
+ 'caption': 'Fjalla One & IBM Plex Serif'
73166
+ }, {
73167
+ 'css': 'basetype-cormorantsc-ibmplexsanscon.css',
73168
+ 'sectioncss': 'type-cormorantsc-ibmplexsanscon.css',
73169
+ 'classname': 'type-cormorantsc-ibmplexsanscon',
73170
+ 'img': 'type-cormorantsc-ibmplexsanscon.jpg',
73171
+ 'category': 4,
73172
+ 'default': false,
73173
+ 'caption': 'Cormorant SC & IBM Plex Sans Condensed'
73174
+ }, {
73175
+ 'css': 'basetype-kalam-robotomono.css',
73176
+ 'sectioncss': 'type-kalam-robotomono.css',
73177
+ 'classname': 'type-kalam-robotomono',
73178
+ 'img': 'type-kalam-robotomono.jpg',
73179
+ 'category': 13,
73180
+ 'default': false,
73181
+ 'caption': 'Kalam & Roboto Mono'
73182
+ }, {
73183
+ 'css': 'basetype-fugazone-librefranklin.css',
73184
+ 'sectioncss': 'type-fugazone-librefranklin.css',
73185
+ 'classname': 'type-fugazone-librefranklin',
73186
+ 'img': 'type-fugazone-librefranklin.jpg',
73187
+ 'category': 8,
73188
+ 'default': false,
73189
+ 'caption': 'Fugaz One & Libre Franklin'
73190
+ }, {
73191
+ 'css': 'basetype-yeonsung-palanquin.css',
73192
+ 'sectioncss': 'type-yeonsung-palanquin.css',
73193
+ 'classname': 'type-yeonsung-palanquin',
73194
+ 'img': 'type-yeonsung-palanquin.jpg',
73195
+ 'category': 8,
73196
+ 'default': false,
73197
+ 'caption': 'Yeon Sung & Palanquin'
73198
+ }, {
73199
+ 'css': 'basetype-rancho-robotoslab.css',
73200
+ 'sectioncss': 'type-rancho-robotoslab.css',
73201
+ 'classname': 'type-rancho-robotoslab',
73202
+ 'img': 'type-rancho-robotoslab.jpg',
73203
+ 'category': 11,
73204
+ 'default': false,
73205
+ 'caption': 'Rancho & Roboto Slab'
73206
+ }, {
73207
+ 'css': 'basetype-tenaram-overpassmono.css',
73208
+ 'sectioncss': 'type-tenaram-overpassmono.css',
73209
+ 'classname': 'type-tenaram-overpassmono',
73210
+ 'img': 'type-tenaram-overpassmono.jpg',
73211
+ 'category': 7,
73212
+ 'default': false,
73213
+ 'caption': 'Tenali Ramakrishna & Overpass Mono'
73214
+ }, {
73215
+ 'css': 'basetype-thegirlnextdoor-sourcesanspro.css',
73216
+ 'sectioncss': 'type-thegirlnextdoor-sourcesanspro.css',
73217
+ 'classname': 'type-thegirlnextdoor-sourcesanspro',
73218
+ 'img': 'type-thegirlnextdoor-sourcesanspro.jpg',
73219
+ 'category': 9,
73220
+ 'default': false,
73221
+ 'caption': 'The Girl Next Door & Source Sans Pro'
73222
+ }, {
73223
+ 'css': 'basetype-boogaloo-inconsolata.css',
73224
+ 'sectioncss': 'type-boogaloo-inconsolata.css',
73225
+ 'classname': 'type-boogaloo-inconsolata',
73226
+ 'img': 'type-boogaloo-inconsolata.jpg',
73227
+ 'category': 12,
73228
+ 'default': false,
73229
+ 'caption': 'Boogaloo & Inconsolata'
73230
+ }, {
73231
+ 'css': 'basetype-caveat-sourcecodepro.css',
73232
+ 'sectioncss': 'type-caveat-sourcecodepro.css',
73233
+ 'classname': 'type-caveat-sourcecodepro',
73234
+ 'img': 'type-caveat-sourcecodepro.jpg',
73235
+ 'category': 13,
73236
+ 'default': false,
73237
+ 'caption': 'Caveat & Source Code Pro'
73238
+ }, {
73239
+ 'css': 'basetype-passionone-worksans.css',
73240
+ 'sectioncss': 'type-passionone-worksans.css',
73241
+ 'classname': 'type-passionone-worksans',
73242
+ 'img': 'type-passionone-worksans.jpg',
73243
+ 'category': 8,
73244
+ 'default': false,
73245
+ 'caption': 'Passion One & Work Sans'
73246
+ }, {
73247
+ 'css': 'basetype-anticdidone-halant.css',
73248
+ 'sectioncss': 'type-anticdidone-halant.css',
73249
+ 'classname': 'type-anticdidone-halant',
73250
+ 'img': 'type-anticdidone-halant.jpg',
73251
+ 'category': 2,
73252
+ 'default': false,
73253
+ 'caption': 'Antic Didone & Halant'
73254
+ }, {
73255
+ 'css': 'basetype-adventpro-opensans.css',
73256
+ 'sectioncss': 'type-adventpro-opensans.css',
73257
+ 'classname': 'type-adventpro-opensans',
73258
+ 'img': 'type-adventpro-opensans.jpg',
73259
+ 'category': 1,
73260
+ 'default': false,
73261
+ 'caption': 'Advent Pro & Open Sans'
73262
+ }, {
73263
+ 'css': 'basetype-cutivemono-lato.css',
73264
+ 'sectioncss': 'type-cutivemono-lato.css',
73265
+ 'classname': 'type-cutivemono-lato',
73266
+ 'img': 'type-cutivemono-lato.jpg',
73267
+ 'category': 6,
73268
+ 'default': false,
73269
+ 'caption': 'Cutive Mono & Lato'
73270
+ }, {
73271
+ 'css': 'basetype-elsie-montserrat.css',
73272
+ 'sectioncss': 'type-elsie-montserrat.css',
73273
+ 'classname': 'type-elsie-montserrat',
73274
+ 'img': 'type-elsie-montserrat.jpg',
73275
+ 'category': 8,
73276
+ 'default': false,
73277
+ 'caption': 'Elsie & Montserrat'
73278
+ }, {
73279
+ 'css': 'basetype-macondo-mukta.css',
73280
+ 'sectioncss': 'type-macondo-mukta.css',
73281
+ 'classname': 'type-macondo-mukta',
73282
+ 'img': 'type-macondo-mukta.jpg',
73283
+ 'category': 8,
73284
+ 'default': false,
73285
+ 'caption': 'Macondo & Mukta'
73286
+ }, {
73287
+ 'css': 'basetype-oswald-opensans.css',
73288
+ 'sectioncss': 'type-oswald-opensans.css',
73289
+ 'classname': 'type-oswald-opensans',
73290
+ 'img': 'type-oswald-opensans.jpg',
73291
+ 'category': 1,
73292
+ 'default': false,
73293
+ 'caption': 'Oswald & Open Sans'
73294
+ }, {
73295
+ 'css': 'basetype-poppins-lekton.css',
73296
+ 'sectioncss': 'type-poppins-lekton.css',
73297
+ 'classname': 'type-poppins-lekton',
73298
+ 'img': 'type-poppins-lekton.jpg',
73299
+ 'category': 1,
73300
+ 'default': false,
73301
+ 'caption': 'Poppins & Lekton'
73302
+ }, {
73303
+ 'css': 'basetype-raleway-neuton.css',
73304
+ 'sectioncss': 'type-raleway-neuton.css',
73305
+ 'classname': 'type-raleway-neuton',
73306
+ 'img': 'type-raleway-neuton.jpg',
73307
+ 'category': 3,
73308
+ 'default': false,
73309
+ 'caption': 'Raleway & Neuton'
73310
+ }, {
73311
+ 'css': 'basetype-sourcecodepro-nunitosans.css',
73312
+ 'sectioncss': 'type-sourcecodepro-nunitosans.css',
73313
+ 'classname': 'type-sourcecodepro-nunitosans',
73314
+ 'img': 'type-sourcecodepro-nunitosans.jpg',
73315
+ 'category': 6,
73316
+ 'default': false,
73317
+ 'caption': 'Source Code Pro & Nunito Sans'
73318
+ }, {
73319
+ 'css': 'basetype-tangerine-opensans.css',
73320
+ 'sectioncss': 'type-tangerine-opensans.css',
73321
+ 'classname': 'type-tangerine-opensans',
73322
+ 'img': 'type-tangerine-opensans.jpg',
73323
+ 'category': 9,
73324
+ 'default': false,
73325
+ 'caption': 'Tangerine & Open Sans'
73326
+ }, {
73327
+ 'css': 'basetype-alegreya-lato.css',
73328
+ 'sectioncss': 'type-alegreya-lato.css',
73329
+ 'classname': 'type-alegreya-lato',
73330
+ 'img': 'type-alegreya-lato.jpg',
73331
+ 'category': 4,
73332
+ 'default': false,
73333
+ 'caption': 'Alegreya & Lato'
73334
+ }, {
73335
+ 'css': 'basetype-amaticsc-lato.css',
73336
+ 'sectioncss': 'type-amaticsc-lato.css',
73337
+ 'classname': 'type-amaticsc-lato',
73338
+ 'img': 'type-amaticsc-lato.jpg',
73339
+ 'category': 9,
73340
+ 'default': false,
73341
+ 'caption': 'Amatic SC & Lato'
73342
+ }, {
73343
+ 'css': 'basetype-heebo-ibmplexmono-2.css',
73344
+ 'sectioncss': 'type-heebo-ibmplexmono-2.css',
73345
+ 'classname': 'type-heebo-ibmplexmono-2',
73346
+ 'img': 'type-heebo-ibmplexmono-2.jpg',
73347
+ 'category': 7,
73348
+ 'default': false,
73349
+ 'caption': 'Heebo & IBM Plex Mono'
73350
+ }, {
73351
+ 'css': 'basetype-juliussansone-robotocondensed.css',
73352
+ 'sectioncss': 'type-juliussansone-robotocondensed.css',
73353
+ 'classname': 'type-juliussansone-robotocondensed',
73354
+ 'img': 'type-juliussansone-robotocondensed.jpg',
73355
+ 'category': 1,
73356
+ 'default': false,
73357
+ 'caption': 'Julius Sans One & Roboto Condensed'
73358
+ }, {
73359
+ 'css': 'basetype-montserrat-roboto.css',
73360
+ 'sectioncss': 'type-montserrat-roboto.css',
73361
+ 'classname': 'type-montserrat-roboto',
73362
+ 'img': 'type-montserrat-roboto.jpg',
73363
+ 'category': 1,
73364
+ 'default': false,
73365
+ 'caption': 'Montserrat & Roboto'
73366
+ }, {
73367
+ 'css': 'basetype-nothingyouc-ibmplexmono-2.css',
73368
+ 'sectioncss': 'type-nothingyouc-ibmplexmono-2.css',
73369
+ 'classname': 'type-nothingyouc-ibmplexmono-2',
73370
+ 'img': 'type-nothingyouc-ibmplexmono-2.jpg',
73371
+ 'category': 13,
73372
+ 'default': false,
73373
+ 'caption': 'Nothing You Could Do & IBM Plex Mono'
73374
+ }, {
73375
+ 'css': 'basetype-raleway-lato.css',
73376
+ 'sectioncss': 'type-raleway-lato.css',
73377
+ 'classname': 'type-raleway-lato',
73378
+ 'img': 'type-raleway-lato.jpg',
73379
+ 'category': 1,
73380
+ 'default': false,
73381
+ 'caption': 'Raleway & Lato'
73382
+ }, {
73383
+ 'css': 'basetype-raleway-lusitana.css',
73384
+ 'sectioncss': 'type-raleway-lusitana.css',
73385
+ 'classname': 'type-raleway-lusitana',
73386
+ 'img': 'type-raleway-lusitana.jpg',
73387
+ 'category': 3,
73388
+ 'default': false,
73389
+ 'caption': 'Raleway & Lusitana'
73390
+ }, {
73391
+ 'css': 'basetype-rufina-oxygen.css',
73392
+ 'sectioncss': 'type-rufina-oxygen.css',
73393
+ 'classname': 'type-rufina-oxygen',
73394
+ 'img': 'type-rufina-oxygen.jpg',
73395
+ 'category': 4,
73396
+ 'default': false,
73397
+ 'caption': 'Rufina & Oxygen'
73398
+ }, {
73399
+ 'css': 'basetype-sacramento-opensans.css',
73400
+ 'sectioncss': 'type-sacramento-opensans.css',
73401
+ 'classname': 'type-sacramento-opensans',
73402
+ 'img': 'type-sacramento-opensans.jpg',
73403
+ 'category': 9,
73404
+ 'default': false,
73405
+ 'caption': 'Sacramento & Open Sans'
73406
+ }, {
73407
+ 'css': 'basetype-specialelite-playfairdisplay.css',
73408
+ 'sectioncss': 'type-specialelite-playfairdisplay.css',
73409
+ 'classname': 'type-specialelite-playfairdisplay',
73410
+ 'img': 'type-specialelite-playfairdisplay.jpg',
73411
+ 'category': 10,
73412
+ 'default': false,
73413
+ 'caption': 'Special Elite & Playfair Display'
73414
+ }, {
73415
+ 'css': 'basetype-unicaone-sourcesanspro.css',
73416
+ 'sectioncss': 'type-unicaone-sourcesanspro.css',
73417
+ 'classname': 'type-unicaone-sourcesanspro',
73418
+ 'img': 'type-unicaone-sourcesanspro.jpg',
73419
+ 'category': 8,
73420
+ 'default': false,
73421
+ 'caption': 'Unica One & Source Sans Pro'
73422
+ }, {
73423
+ 'css': 'basetype-amaticsc-josepfinsans.css',
73424
+ 'sectioncss': 'type-amaticsc-josepfinsans.css',
73425
+ 'classname': 'type-amaticsc-josepfinsans',
73426
+ 'img': 'type-amaticsc-josepfinsans.jpg',
73427
+ 'category': 9,
73428
+ 'default': true,
73429
+ 'caption': 'Amatic SC & Josefin Sans'
73430
+ }, {
73431
+ 'css': 'basetype-sourcesanspro-anonymouspro.css',
73432
+ 'sectioncss': 'type-sourcesanspro-anonymouspro.css',
73433
+ 'classname': 'type-sourcesanspro-anonymouspro',
73434
+ 'img': 'type-sourcesanspro-anonymouspro.jpg',
73435
+ 'category': 7,
73436
+ 'default': true,
73437
+ 'caption': 'Source Sans Pro & Anonymous Pro'
73438
+ }, {
73439
+ 'css': 'basetype-poppins-oldstandardtt.css',
73440
+ 'sectioncss': 'type-poppins-oldstandardtt.css',
73441
+ 'classname': 'type-poppins-oldstandardtt',
73442
+ 'img': 'type-poppins-oldstandardtt.jpg',
73443
+ 'category': 3,
73444
+ 'default': true,
73445
+ 'caption': 'Poppins & Old Standard TT'
73446
+ }, {
73447
+ 'css': 'basetype-yesteryear-chivo.css',
73448
+ 'sectioncss': 'type-yesteryear-chivo.css',
73449
+ 'classname': 'type-yesteryear-chivo',
73450
+ 'img': 'type-yesteryear-chivo.jpg',
73451
+ 'category': 9,
73452
+ 'default': true,
73453
+ 'caption': 'Yesteryear & Chivo'
73454
+ }, {
73455
+ 'css': 'basetype-ptserif-poppins.css',
73456
+ 'sectioncss': 'type-ptserif-poppins.css',
73457
+ 'classname': 'type-ptserif-poppins',
73458
+ 'img': 'type-ptserif-poppins.jpg',
73459
+ 'category': 4,
73460
+ 'default': true,
73461
+ 'caption': 'PT Serif & Poppins'
73462
+ }, {
73463
+ 'css': 'basetype-kellyslab-yantramanav.css',
73464
+ 'sectioncss': 'type-kellyslab-yantramanav.css',
73465
+ 'classname': 'type-kellyslab-yantramanav',
73466
+ 'img': 'type-kellyslab-yantramanav.jpg',
73467
+ 'category': 8,
73468
+ 'default': true,
73469
+ 'caption': 'Kelly Slab & Yantramanav'
73470
+ }, {
73471
+ 'css': 'basetype-yellowtail-frankruhllibre.css',
73472
+ 'sectioncss': 'type-yellowtail-frankruhllibre.css',
73473
+ 'classname': 'type-yellowtail-frankruhllibre',
73474
+ 'img': 'type-yellowtail-frankruhllibre.jpg',
73475
+ 'category': 11,
73476
+ 'default': true,
73477
+ 'caption': 'Yellowtail & Frank Ruhl Libre'
73478
+ }, {
73479
+ 'css': 'basetype-sedgwickave-spectral.css',
73480
+ 'sectioncss': 'type-sedgwickave-spectral.css',
73481
+ 'classname': 'type-sedgwickave-spectral',
73482
+ 'img': 'type-sedgwickave-spectral.jpg',
73483
+ 'category': 10,
73484
+ 'default': false,
73485
+ 'caption': 'Sedgwick Ave & Spectral'
73486
+ }, {
73487
+ 'css': 'basetype-satisfy-economica.css',
73488
+ 'sectioncss': 'type-satisfy-economica.css',
73489
+ 'classname': 'type-satisfy-economica',
73490
+ 'img': 'type-satisfy-economica.jpg',
73491
+ 'category': 9,
73492
+ 'default': false,
73493
+ 'caption': 'Satisfy & Economica'
73494
+ }, {
73495
+ 'css': 'basetype-josefinsans-lekton.css',
73496
+ 'sectioncss': 'type-josefinsans-lekton.css',
73497
+ 'classname': 'type-josefinsans-lekton',
73498
+ 'img': 'type-josefinsans-lekton.jpg',
73499
+ 'category': 1,
73500
+ 'default': false,
73501
+ 'caption': 'Josefin Sans & Lekton'
73502
+ }, {
73503
+ 'css': 'basetype-parisienne-maitree.css',
73504
+ 'sectioncss': 'type-parisienne-maitree.css',
73505
+ 'classname': 'type-parisienne-maitree',
73506
+ 'img': 'type-parisienne-maitree.jpg',
73507
+ 'category': 11,
73508
+ 'default': false,
73509
+ 'caption': 'Parisienne & Maitree'
73510
+ }, {
73511
+ 'css': 'basetype-londrinashadow-martel.css',
73512
+ 'sectioncss': 'type-londrinashadow-martel.css',
73513
+ 'classname': 'type-londrinashadow-martel',
73514
+ 'img': 'type-londrinashadow-martel.jpg',
73515
+ 'category': 10,
73516
+ 'default': false,
73517
+ 'caption': 'Londrina Shadow & Martel'
73518
+ }, {
73519
+ 'css': 'basetype-poiretone-pridi.css',
73520
+ 'sectioncss': 'type-poiretone-pridi.css',
73521
+ 'classname': 'type-poiretone-pridi',
73522
+ 'img': 'type-poiretone-pridi.jpg',
73523
+ 'category': 10,
73524
+ 'default': false,
73525
+ 'caption': 'Poiret One & Pridi'
73526
+ }, {
73527
+ 'css': 'basetype-pollerone-ibmplexserif.css',
73528
+ 'sectioncss': 'type-pollerone-ibmplexserif.css',
73529
+ 'classname': 'type-pollerone-ibmplexserif',
73530
+ 'img': 'type-pollerone-ibmplexserif.jpg',
73531
+ 'category': 10,
73532
+ 'default': false,
73533
+ 'caption': 'Poller One & IBM Plex Serif'
73534
+ }, {
73535
+ 'css': 'basetype-italiana-martel.css',
73536
+ 'sectioncss': 'type-italiana-martel.css',
73537
+ 'classname': 'type-italiana-martel',
73538
+ 'img': 'type-italiana-martel.jpg',
73539
+ 'category': 2,
73540
+ 'default': false,
73541
+ 'caption': 'Italiana & Martel'
73542
+ }, {
73543
+ 'css': 'basetype-julee-lora.css',
73544
+ 'sectioncss': 'type-julee-lora.css',
73545
+ 'classname': 'type-julee-lora',
73546
+ 'img': 'type-julee-lora.jpg',
73547
+ 'category': 11,
73548
+ 'default': false,
73549
+ 'caption': 'Julee & Lora'
73550
+ }, {
73551
+ 'css': 'basetype-sixcaps-robotomono.css',
73552
+ 'sectioncss': 'type-sixcaps-robotomono.css',
73553
+ 'classname': 'type-sixcaps-robotomono',
73554
+ 'img': 'type-sixcaps-robotomono.jpg',
73555
+ 'category': 7,
73556
+ 'default': false,
73557
+ 'caption': 'Six Caps & Roboto Mono'
73558
+ }, {
73559
+ 'css': 'basetype-pacifico-nanumgothiccod.css',
73560
+ 'sectioncss': 'type-pacifico-nanumgothiccod.css',
73561
+ 'classname': 'type-pacifico-nanumgothiccod',
73562
+ 'img': 'type-pacifico-nanumgothiccod.jpg',
73563
+ 'category': 13,
73564
+ 'default': false,
73565
+ 'caption': 'Pacifico & Nanum Gothic Coding'
73566
+ }, {
73567
+ 'css': 'basetype-greatvibes-robotomono.css',
73568
+ 'sectioncss': 'type-greatvibes-robotomono.css',
73569
+ 'classname': 'type-greatvibes-robotomono',
73570
+ 'img': 'type-greatvibes-robotomono.jpg',
73571
+ 'category': 13,
73572
+ 'default': false,
73573
+ 'caption': 'Great Vibes & Roboto Mono'
73574
+ }, {
73575
+ 'css': 'basetype-pinyonscript-firasans.css',
73576
+ 'sectioncss': 'type-pinyonscript-firasans.css',
73577
+ 'classname': 'type-pinyonscript-firasans',
73578
+ 'img': 'type-pinyonscript-firasans.jpg',
73579
+ 'category': 9,
73580
+ 'default': false,
73581
+ 'caption': 'Pinyon Script & Fira Sans'
73582
+ }, {
73583
+ 'css': 'basetype-sail-rasa.css',
73584
+ 'sectioncss': 'type-sail-rasa.css',
73585
+ 'classname': 'type-sail-rasa',
73586
+ 'img': 'type-sail-rasa.jpg',
73587
+ 'category': 10,
73588
+ 'default': false,
73589
+ 'caption': 'Sail & Rasa'
73590
+ }, {
73591
+ 'css': 'basetype-yesevaone-forum.css',
73592
+ 'sectioncss': 'type-yesevaone-forum.css',
73593
+ 'classname': 'type-yesevaone-forum',
73594
+ 'img': 'type-yesevaone-forum.jpg',
73595
+ 'category': 14,
73596
+ 'default': false,
73597
+ 'caption': 'Yeseva One & Forum'
73598
+ }, {
73599
+ 'css': 'basetype-dosis-oldstandardtt.css',
73600
+ 'sectioncss': 'type-dosis-oldstandardtt.css',
73601
+ 'classname': 'type-dosis-oldstandardtt',
73602
+ 'img': 'type-dosis-oldstandardtt.jpg',
73603
+ 'category': 1,
73604
+ 'default': false,
73605
+ 'caption': 'Dosis & Old Standard TT'
73606
+ }, {
73607
+ 'css': 'basetype-engagement-spectral.css',
73608
+ 'sectioncss': 'type-engagement-spectral.css',
73609
+ 'classname': 'type-engagement-spectral',
73610
+ 'img': 'type-engagement-spectral.jpg',
73611
+ 'category': 11,
73612
+ 'default': false,
73613
+ 'caption': 'Engagement & Spectral'
73614
+ }, {
73615
+ 'css': 'basetype-dynalight-mada.css',
73616
+ 'sectioncss': 'type-dynalight-mada.css',
73617
+ 'classname': 'type-dynalight-mada',
73618
+ 'img': 'type-dynalight-mada.jpg',
73619
+ 'category': 8,
73620
+ 'default': false,
73621
+ 'caption': 'Dynalight & Mada'
73622
+ }, {
73623
+ 'css': 'basetype-gravitasone-nanummyeongjo.css',
73624
+ 'sectioncss': 'type-gravitasone-nanummyeongjo.css',
73625
+ 'classname': 'type-gravitasone-nanummyeongjo',
73626
+ 'img': 'type-gravitasone-nanummyeongjo.jpg',
73627
+ 'category': 10,
73628
+ 'default': false,
73629
+ 'caption': 'Gravitas One & Nanum Myeongjo'
73630
+ }, {
73631
+ 'css': 'basetype-alexbrush-ibmplexsans.css',
73632
+ 'sectioncss': 'type-alexbrush-ibmplexsans.css',
73633
+ 'classname': 'type-alexbrush-ibmplexsans',
73634
+ 'img': 'type-alexbrush-ibmplexsans.jpg',
73635
+ 'category': 9,
73636
+ 'default': false,
73637
+ 'caption': 'Alex Brush & IBM Plex Sans'
73638
+ }]
73639
+ }
73640
+ },
72631
73641
 
72632
73642
  /* Old Version (backward compatible) */
72633
73643
  onAddSectionOpen: function () {},
@@ -72670,6 +73680,10 @@ class ContentBox {
72670
73680
  this.settings.designPathReplace = this.settings.snippetPathReplace;
72671
73681
  }
72672
73682
 
73683
+ if (this.settings.contentStyleWithSample) {
73684
+ this.settings.contentStyles = this.settings.contentStylesAlt;
73685
+ }
73686
+
72673
73687
  this.wrapperEl = document.querySelector(this.wrapper);
72674
73688
 
72675
73689
  if (dom.hasClass(this.wrapperEl, 'preview')) {
@@ -72884,20 +73898,44 @@ class ContentBox {
72884
73898
  fileSelect: this.settings.fileSelect,
72885
73899
  imageSelect: this.settings.imageSelect,
72886
73900
  videoSelect: this.settings.videoSelect,
72887
- onContentClick: () => {
72888
- this.sidebar.closeSidebar();
72889
- if (this.settings.onContentClick) this.settings.onContentClick(); // // Close all opened sidebar
72890
- // const overlay = document.querySelector('.is-sidebar-overlay');
72891
- // if(overlay) {
72892
- // overlay.remove();
72893
- // document.body.style.overflowY = '';
72894
- // }
72895
- // document.querySelectorAll('.is-sidebar-button.active').forEach((elm)=>{
72896
- // dom.removeClass(elm,'active');
72897
- // });
72898
- // document.querySelectorAll('.is-sidebar-content.active').forEach((elm)=>{
72899
- // dom.removeClass(elm,'active');
72900
- // });
73901
+ onContentClick: e => {
73902
+ if (this.settings.onContentClick) this.settings.onContentClick();
73903
+ let elm = e.target;
73904
+ let editable = elm.closest('[contenteditable="true"]');
73905
+
73906
+ if (!editable) {
73907
+ // only for locked/protected content
73908
+ let link = this.editor.dom.getParentElement(elm, 'a');
73909
+
73910
+ if (elm.tagName.toLowerCase() === 'a' || link) {
73911
+ if (elm.tagName.toLowerCase() === 'a') link = elm;
73912
+ let url = link.getAttribute('href');
73913
+
73914
+ if (url) {
73915
+ if (url.indexOf('#') === 0) {
73916
+ if (url.indexOf('#section') === 0) {
73917
+ let num = url.replace('#section', '');
73918
+
73919
+ if (!isNaN(parseInt(num))) {
73920
+ let section = document.querySelector(`.is-section:nth-child(${num})`);
73921
+
73922
+ if (section) {
73923
+ this.scrollTo(section);
73924
+ e.preventDefault();
73925
+ }
73926
+ }
73927
+ } else {
73928
+ let bookmark = document.querySelector(url);
73929
+
73930
+ if (bookmark) {
73931
+ this.scrollTo(bookmark);
73932
+ e.preventDefault();
73933
+ }
73934
+ }
73935
+ }
73936
+ }
73937
+ }
73938
+ }
72901
73939
  }
72902
73940
  });
72903
73941
  } // editorSetup
@@ -73056,13 +74094,13 @@ class ContentBox {
73056
74094
  }, 300);
73057
74095
  }
73058
74096
 
73059
- scrollTo(element) {
74097
+ scrollTo(element, delay = 0) {
73060
74098
  setTimeout(() => {
73061
74099
  element.scrollIntoView({
73062
74100
  behavior: 'smooth',
73063
74101
  block: 'center'
73064
74102
  });
73065
- }, 600);
74103
+ }, delay);
73066
74104
  }
73067
74105
 
73068
74106
  sectionSetup(section) {
@@ -73294,7 +74332,7 @@ class ContentBox {
73294
74332
  dom.removeClass(document.querySelectorAll('.is-sidebar-content'), 'active');
73295
74333
  document.body.style.overflowY = '';
73296
74334
  this.addSpace();
73297
- this.scrollTo(newSection);
74335
+ this.scrollTo(newSection, 600);
73298
74336
  } // addIdea
73299
74337
 
73300
74338
 
@@ -73363,7 +74401,7 @@ class ContentBox {
73363
74401
  if (localStorage.getItem('_zoom') !== null) {
73364
74402
  zoom = localStorage.getItem('_zoom');
73365
74403
  } else {
73366
- zoom = 1;
74404
+ zoom = this.settings.zoom; //1;
73367
74405
  }
73368
74406
 
73369
74407
  let leftadj;