@innovastudio/contentbox 1.0.31 → 1.0.32
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
|
-
} //
|
|
236
|
+
} // http://stackoverflow.com/questions/1349404/generate-a-string-of-5-random-characters-in-javascript
|
|
237
237
|
|
|
238
238
|
|
|
239
239
|
uniqueId() {
|
|
@@ -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:
|
|
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}';
|
|
@@ -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
|
-
|
|
2324
|
+
activeSection.setAttribute('data-anim-start', s);
|
|
2325
|
+
let animEnd = activeSection.getAttribute('data-anim-end');
|
|
2307
2326
|
|
|
2308
|
-
if (
|
|
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
|
-
|
|
2364
|
+
activeSection.setAttribute('data-anim-end', s);
|
|
2365
|
+
let animEnd = activeSection.getAttribute('data-anim-end');
|
|
2347
2366
|
|
|
2348
|
-
if (
|
|
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
|
}
|
|
@@ -55692,6 +55710,7 @@ class ColumnTool {
|
|
|
55692
55710
|
|
|
55693
55711
|
this.showHideLockIndicator(cell);
|
|
55694
55712
|
this.builder.element.applyBehavior(cell);
|
|
55713
|
+
this.columnMore.style.display = '';
|
|
55695
55714
|
e.preventDefault();
|
|
55696
55715
|
}); // Open Column Settings
|
|
55697
55716
|
|
|
@@ -69601,11 +69620,13 @@ class ContentBuilder {
|
|
|
69601
69620
|
} else if (url.toLowerCase().indexOf('youtube.com') !== -1 || url.toLowerCase().indexOf('vimeo.com') !== -1) {
|
|
69602
69621
|
this.lightbox.openExternalVideo(url, 'dark', color);
|
|
69603
69622
|
} else {
|
|
69604
|
-
|
|
69605
|
-
|
|
69623
|
+
if (url.indexOf('#') === 0) ; else {
|
|
69624
|
+
// Will go to the link
|
|
69625
|
+
const answer = window.confirm(this.util.out('Do you really want to leave?')); // cancel the navigation and stay on the same page
|
|
69606
69626
|
|
|
69607
|
-
|
|
69608
|
-
|
|
69627
|
+
if (!answer) {
|
|
69628
|
+
return false;
|
|
69629
|
+
}
|
|
69609
69630
|
}
|
|
69610
69631
|
|
|
69611
69632
|
window.location.href = url;
|
|
@@ -69724,20 +69745,31 @@ class ContentBuilder {
|
|
|
69724
69745
|
return false;
|
|
69725
69746
|
} else {
|
|
69726
69747
|
// Will go to the link
|
|
69727
|
-
|
|
69748
|
+
if (url.indexOf('#') === 0) ; else {
|
|
69749
|
+
const answer = window.confirm(this.util.out('Do you really want to leave?')); // cancel the navigation and stay on the same page
|
|
69728
69750
|
|
|
69729
|
-
|
|
69730
|
-
|
|
69731
|
-
|
|
69751
|
+
if (!answer) {
|
|
69752
|
+
e.preventDefault();
|
|
69753
|
+
return false;
|
|
69754
|
+
}
|
|
69732
69755
|
}
|
|
69733
69756
|
}
|
|
69734
69757
|
} else {
|
|
69735
|
-
|
|
69758
|
+
let url = link.getAttribute('href');
|
|
69736
69759
|
|
|
69737
|
-
if (!
|
|
69760
|
+
if (!url) {
|
|
69738
69761
|
e.preventDefault();
|
|
69739
69762
|
return false;
|
|
69740
69763
|
}
|
|
69764
|
+
|
|
69765
|
+
if (url.indexOf('#') === 0) ; else {
|
|
69766
|
+
const answer = window.confirm(this.util.out('Do you really want to leave?')); // cancel the navigation and stay on the same page
|
|
69767
|
+
|
|
69768
|
+
if (!answer) {
|
|
69769
|
+
e.preventDefault();
|
|
69770
|
+
return false;
|
|
69771
|
+
}
|
|
69772
|
+
}
|
|
69741
69773
|
}
|
|
69742
69774
|
}
|
|
69743
69775
|
} // e.preventDefault();
|
|
@@ -71655,6 +71687,7 @@ class ContentBox {
|
|
|
71655
71687
|
undoContainerOnly: false,
|
|
71656
71688
|
absolutePath: false,
|
|
71657
71689
|
zoom: 0.6,
|
|
71690
|
+
contentStyleWithSample: false,
|
|
71658
71691
|
contentStyles: {
|
|
71659
71692
|
'data': {
|
|
71660
71693
|
'categories': [
|
|
@@ -72628,6 +72661,979 @@ class ContentBox {
|
|
|
72628
72661
|
}]
|
|
72629
72662
|
}
|
|
72630
72663
|
},
|
|
72664
|
+
contentStylesAlt: {
|
|
72665
|
+
'data': {
|
|
72666
|
+
'categories': [
|
|
72667
|
+
/*{ "id": 0, "desc": "Default" },*/
|
|
72668
|
+
{
|
|
72669
|
+
'id': -1,
|
|
72670
|
+
'desc': 'ALL'
|
|
72671
|
+
}, {
|
|
72672
|
+
'id': 1,
|
|
72673
|
+
'desc': 'Sans-serif & Sans-serif'
|
|
72674
|
+
}, {
|
|
72675
|
+
'id': 2,
|
|
72676
|
+
'desc': 'Serif & Serif'
|
|
72677
|
+
}, {
|
|
72678
|
+
'id': 3,
|
|
72679
|
+
'desc': 'Sans-serif & Serif'
|
|
72680
|
+
}, {
|
|
72681
|
+
'id': 4,
|
|
72682
|
+
'desc': 'Serif & Sans-serif'
|
|
72683
|
+
}, {
|
|
72684
|
+
'id': 5,
|
|
72685
|
+
'desc': 'Monospace & Monospace'
|
|
72686
|
+
}, {
|
|
72687
|
+
'id': 6,
|
|
72688
|
+
'desc': 'Monospace & Sans-serif'
|
|
72689
|
+
}, {
|
|
72690
|
+
'id': 7,
|
|
72691
|
+
'desc': 'Sans-serif & Monospace'
|
|
72692
|
+
}, {
|
|
72693
|
+
'id': 8,
|
|
72694
|
+
'desc': 'Display & Sans-serif'
|
|
72695
|
+
}, {
|
|
72696
|
+
'id': 9,
|
|
72697
|
+
'desc': 'Handwriting & Sans-serif'
|
|
72698
|
+
}, {
|
|
72699
|
+
'id': 10,
|
|
72700
|
+
'desc': 'Display & Serif'
|
|
72701
|
+
}, {
|
|
72702
|
+
'id': 11,
|
|
72703
|
+
'desc': 'Handwriting & Serif'
|
|
72704
|
+
}, {
|
|
72705
|
+
'id': 12,
|
|
72706
|
+
'desc': 'Display & Monospace'
|
|
72707
|
+
}, {
|
|
72708
|
+
'id': 13,
|
|
72709
|
+
'desc': 'Handwriting & Monospace'
|
|
72710
|
+
}, {
|
|
72711
|
+
'id': 14,
|
|
72712
|
+
'desc': 'Display & Display'
|
|
72713
|
+
}],
|
|
72714
|
+
'styles': [{
|
|
72715
|
+
'css': 'basetype-opensans.css',
|
|
72716
|
+
'sectioncss': 'type-opensans.css',
|
|
72717
|
+
'classname': 'type-opensans',
|
|
72718
|
+
'img': 'type-opensans.jpg',
|
|
72719
|
+
'category': 9,
|
|
72720
|
+
'default': true,
|
|
72721
|
+
'caption': 'Open Sans'
|
|
72722
|
+
}, {
|
|
72723
|
+
'css': 'basetype-spectralsc-karma.css',
|
|
72724
|
+
'sectioncss': 'type-spectralsc-karma.css',
|
|
72725
|
+
'classname': 'type-spectralsc-karma',
|
|
72726
|
+
'img': 'type-spectralsc-karma.jpg',
|
|
72727
|
+
'category': 2,
|
|
72728
|
+
'default': true,
|
|
72729
|
+
'caption': 'Spectral SC & Karma'
|
|
72730
|
+
}, {
|
|
72731
|
+
'css': 'basetype-alegreyasanssc-hind.css',
|
|
72732
|
+
'sectioncss': 'type-alegreyasanssc-hind.css',
|
|
72733
|
+
'classname': 'type-alegreyasanssc-hind',
|
|
72734
|
+
'img': 'type-alegreyasanssc-hind.jpg',
|
|
72735
|
+
'category': 1,
|
|
72736
|
+
'default': true,
|
|
72737
|
+
'caption': 'Alegreya Sans SC & Hind'
|
|
72738
|
+
}, {
|
|
72739
|
+
'css': 'basetype-cabinsketch-montserrat.css',
|
|
72740
|
+
'sectioncss': 'type-cabinsketch-montserrat.css',
|
|
72741
|
+
'classname': 'type-cabinsketch-montserrat',
|
|
72742
|
+
'img': 'type-cabinsketch-montserrat.jpg',
|
|
72743
|
+
'category': 8,
|
|
72744
|
+
'default': true,
|
|
72745
|
+
'caption': 'Cabin Sketch & Montserrat'
|
|
72746
|
+
}, {
|
|
72747
|
+
'css': 'basetype-anonymouspro-catamaran.css',
|
|
72748
|
+
'sectioncss': 'type-anonymouspro-catamaran.css',
|
|
72749
|
+
'classname': 'type-anonymouspro-catamaran',
|
|
72750
|
+
'img': 'type-anonymouspro-catamaran.jpg',
|
|
72751
|
+
'category': 6,
|
|
72752
|
+
'default': true,
|
|
72753
|
+
'caption': 'Anonymous Pro & Catamaran'
|
|
72754
|
+
}, {
|
|
72755
|
+
'css': 'basetype-nothingyouc-ibmplexmono.css',
|
|
72756
|
+
'sectioncss': 'type-nothingyouc-ibmplexmono.css',
|
|
72757
|
+
'classname': 'type-nothingyouc-ibmplexmono',
|
|
72758
|
+
'img': 'type-nothingyouc-ibmplexmono.jpg',
|
|
72759
|
+
'category': 13,
|
|
72760
|
+
'default': true,
|
|
72761
|
+
'caption': 'Nothing You Could Do & IBM Plex Mono'
|
|
72762
|
+
}, {
|
|
72763
|
+
'css': 'basetype-juliussansone-taviraj.css',
|
|
72764
|
+
'sectioncss': 'type-juliussansone-taviraj.css',
|
|
72765
|
+
'classname': 'type-juliussansone-taviraj',
|
|
72766
|
+
'img': 'type-juliussansone-taviraj.jpg',
|
|
72767
|
+
'category': 3,
|
|
72768
|
+
'default': true,
|
|
72769
|
+
'caption': 'Julius Sans One & Taviraj'
|
|
72770
|
+
}, {
|
|
72771
|
+
'css': 'basetype-voltaire-sourcecodepro.css',
|
|
72772
|
+
'sectioncss': 'type-voltaire-sourcecodepro.css',
|
|
72773
|
+
'classname': 'type-voltaire-sourcecodepro',
|
|
72774
|
+
'img': 'type-voltaire-sourcecodepro.jpg',
|
|
72775
|
+
'category': 7,
|
|
72776
|
+
'default': true,
|
|
72777
|
+
'caption': 'Voltaire & Source Code Pro'
|
|
72778
|
+
}, {
|
|
72779
|
+
'css': 'basetype-oregano-zillaslab.css',
|
|
72780
|
+
'sectioncss': 'type-oregano-zillaslab.css',
|
|
72781
|
+
'classname': 'type-oregano-zillaslab',
|
|
72782
|
+
'img': 'type-oregano-zillaslab.jpg',
|
|
72783
|
+
'category': 10,
|
|
72784
|
+
'default': true,
|
|
72785
|
+
'caption': 'Oregano & Zilla Slab'
|
|
72786
|
+
}, {
|
|
72787
|
+
'css': 'basetype-anonymouspro.css',
|
|
72788
|
+
'sectioncss': 'type-anonymouspro.css',
|
|
72789
|
+
'classname': 'type-anonymouspro',
|
|
72790
|
+
'img': 'type-anonymouspro.jpg',
|
|
72791
|
+
'category': 5,
|
|
72792
|
+
'default': false,
|
|
72793
|
+
'caption': 'Anonymous Pro'
|
|
72794
|
+
}, {
|
|
72795
|
+
'css': 'basetype-dancingscript-anonymouspro.css',
|
|
72796
|
+
'sectioncss': 'type-dancingscript-anonymouspro.css',
|
|
72797
|
+
'classname': 'type-dancingscript-anonymouspro',
|
|
72798
|
+
'img': 'type-dancingscript-anonymouspro.jpg',
|
|
72799
|
+
'category': 13,
|
|
72800
|
+
'default': false,
|
|
72801
|
+
'caption': 'Dancing Script & Anonymous Pro'
|
|
72802
|
+
}, {
|
|
72803
|
+
'css': 'basetype-unicaone-cormorantgaramond.css',
|
|
72804
|
+
'sectioncss': 'type-unicaone-cormorantgaramond.css',
|
|
72805
|
+
'classname': 'type-unicaone-cormorantgaramond',
|
|
72806
|
+
'img': 'type-unicaone-cormorantgaramond.jpg',
|
|
72807
|
+
'category': 10,
|
|
72808
|
+
'default': false,
|
|
72809
|
+
'caption': 'Unica One & Cormorant Garamond'
|
|
72810
|
+
}, {
|
|
72811
|
+
'css': 'basetype-allan-overpassmono.css',
|
|
72812
|
+
'sectioncss': 'type-allan-overpassmono.css',
|
|
72813
|
+
'classname': 'type-allan-overpassmono',
|
|
72814
|
+
'img': 'type-allan-overpassmono.jpg',
|
|
72815
|
+
'category': 12,
|
|
72816
|
+
'default': false,
|
|
72817
|
+
'caption': 'Allan & Overpass Mono'
|
|
72818
|
+
}, {
|
|
72819
|
+
'css': 'basetype-averialibre-barlow.css',
|
|
72820
|
+
'sectioncss': 'type-averialibre-barlow.css',
|
|
72821
|
+
'classname': 'type-averialibre-barlow',
|
|
72822
|
+
'img': 'type-averialibre-barlow.jpg',
|
|
72823
|
+
'category': 8,
|
|
72824
|
+
'default': false,
|
|
72825
|
+
'caption': 'Averia Libre & Barlow'
|
|
72826
|
+
}, {
|
|
72827
|
+
'css': 'basetype-merriweathersans-martel.css',
|
|
72828
|
+
'sectioncss': 'type-merriweathersans-martel.css',
|
|
72829
|
+
'classname': 'type-merriweathersans-martel',
|
|
72830
|
+
'img': 'type-merriweathersans-martel.jpg',
|
|
72831
|
+
'category': 3,
|
|
72832
|
+
'default': false,
|
|
72833
|
+
'caption': 'Merriweather Sans & Martel'
|
|
72834
|
+
}, {
|
|
72835
|
+
'css': 'basetype-poppins.css',
|
|
72836
|
+
'sectioncss': 'type-poppins.css',
|
|
72837
|
+
'classname': 'type-poppins',
|
|
72838
|
+
'img': 'type-poppins.jpg',
|
|
72839
|
+
'category': 1,
|
|
72840
|
+
'default': false,
|
|
72841
|
+
'caption': 'Poppins'
|
|
72842
|
+
}, {
|
|
72843
|
+
'css': 'basetype-specialelite-encodesans.css',
|
|
72844
|
+
'sectioncss': 'type-specialelite-encodesans.css',
|
|
72845
|
+
'classname': 'type-specialelite-encodesans',
|
|
72846
|
+
'img': 'type-specialelite-encodesans.jpg',
|
|
72847
|
+
'category': 8,
|
|
72848
|
+
'default': false,
|
|
72849
|
+
'caption': 'Special Elite & Encode Sans'
|
|
72850
|
+
}, {
|
|
72851
|
+
'css': 'basetype-marcellussc-heebo.css',
|
|
72852
|
+
'sectioncss': 'type-marcellussc-heebo.css',
|
|
72853
|
+
'classname': 'type-marcellussc-heebo',
|
|
72854
|
+
'img': 'type-marcellussc-heebo.jpg',
|
|
72855
|
+
'category': 4,
|
|
72856
|
+
'default': false,
|
|
72857
|
+
'caption': 'Marcellus SC & Heebo'
|
|
72858
|
+
}, {
|
|
72859
|
+
'css': 'basetype-oswald-cousine.css',
|
|
72860
|
+
'sectioncss': 'type-oswald-cousine.css',
|
|
72861
|
+
'classname': 'type-oswald-cousine',
|
|
72862
|
+
'img': 'type-oswald-cousine.jpg',
|
|
72863
|
+
'category': 7,
|
|
72864
|
+
'default': false,
|
|
72865
|
+
'caption': 'Oswald & Cousine'
|
|
72866
|
+
}, {
|
|
72867
|
+
'css': 'basetype-oranienbaum-sourcesanspro.css',
|
|
72868
|
+
'sectioncss': 'type-oranienbaum-sourcesanspro.css',
|
|
72869
|
+
'classname': 'type-oranienbaum-sourcesanspro',
|
|
72870
|
+
'img': 'type-oranienbaum-sourcesanspro.jpg',
|
|
72871
|
+
'category': 4,
|
|
72872
|
+
'default': false,
|
|
72873
|
+
'caption': 'Oranienbaum & Source Sans Pro'
|
|
72874
|
+
}, {
|
|
72875
|
+
'css': 'basetype-sriracha-arvo.css',
|
|
72876
|
+
'sectioncss': 'type-sriracha-arvo.css',
|
|
72877
|
+
'classname': 'type-sriracha-arvo',
|
|
72878
|
+
'img': 'type-sriracha-arvo.jpg',
|
|
72879
|
+
'category': 11,
|
|
72880
|
+
'default': false,
|
|
72881
|
+
'caption': 'Sriracha & Arvo'
|
|
72882
|
+
}, {
|
|
72883
|
+
'css': 'basetype-merriweather.css',
|
|
72884
|
+
'sectioncss': 'type-merriweather.css',
|
|
72885
|
+
'classname': 'type-merriweather',
|
|
72886
|
+
'img': 'type-merriweather.jpg',
|
|
72887
|
+
'category': 2,
|
|
72888
|
+
'default': false,
|
|
72889
|
+
'caption': 'Merriweather'
|
|
72890
|
+
}, {
|
|
72891
|
+
'css': 'basetype-badscript-rokkitt.css',
|
|
72892
|
+
'sectioncss': 'type-badscript-rokkitt.css',
|
|
72893
|
+
'classname': 'type-badscript-rokkitt',
|
|
72894
|
+
'img': 'type-badscript-rokkitt.jpg',
|
|
72895
|
+
'category': 11,
|
|
72896
|
+
'default': false,
|
|
72897
|
+
'caption': 'Bad Script & Rokkitt'
|
|
72898
|
+
}, {
|
|
72899
|
+
'css': 'basetype-inconsolata.css',
|
|
72900
|
+
'sectioncss': 'type-inconsolata.css',
|
|
72901
|
+
'classname': 'type-inconsolata',
|
|
72902
|
+
'img': 'type-inconsolata.jpg',
|
|
72903
|
+
'category': 5,
|
|
72904
|
+
'default': false,
|
|
72905
|
+
'caption': 'Inconsolata'
|
|
72906
|
+
}, {
|
|
72907
|
+
'css': 'basetype-novamono-robotomono.css',
|
|
72908
|
+
'sectioncss': 'type-novamono-robotomono.css',
|
|
72909
|
+
'classname': 'type-novamono-robotomono',
|
|
72910
|
+
'img': 'type-novamono-robotomono.jpg',
|
|
72911
|
+
'category': 5,
|
|
72912
|
+
'default': false,
|
|
72913
|
+
'caption': 'Nova Mono & Roboto Mono'
|
|
72914
|
+
}, {
|
|
72915
|
+
'css': 'basetype-spacemono.css',
|
|
72916
|
+
'sectioncss': 'type-spacemono.css',
|
|
72917
|
+
'classname': 'type-spacemono',
|
|
72918
|
+
'img': 'type-spacemono.jpg',
|
|
72919
|
+
'category': 5,
|
|
72920
|
+
'default': false,
|
|
72921
|
+
'caption': 'Space Mono'
|
|
72922
|
+
}, {
|
|
72923
|
+
'css': 'basetype-elsie-frankruhllibre.css',
|
|
72924
|
+
'sectioncss': 'type-elsie-frankruhllibre.css',
|
|
72925
|
+
'classname': 'type-elsie-frankruhllibre',
|
|
72926
|
+
'img': 'type-elsie-frankruhllibre.jpg',
|
|
72927
|
+
'category': 10,
|
|
72928
|
+
'default': false,
|
|
72929
|
+
'caption': 'Elsie & Frank Ruhl Libre'
|
|
72930
|
+
}, {
|
|
72931
|
+
'css': 'basetype-playfairdisp-petitformalscr.css',
|
|
72932
|
+
'sectioncss': 'type-playfairdisp-petitformalscr.css',
|
|
72933
|
+
'classname': 'type-playfairdisp-petitformalscr',
|
|
72934
|
+
'img': 'type-playfairdisp-petitformalscr.jpg',
|
|
72935
|
+
'category': 2,
|
|
72936
|
+
'default': false,
|
|
72937
|
+
'caption': 'Playfair Display'
|
|
72938
|
+
}, {
|
|
72939
|
+
'css': 'basetype-josefinsans-neuton.css',
|
|
72940
|
+
'sectioncss': 'type-josefinsans-neuton.css',
|
|
72941
|
+
'classname': 'type-josefinsans-neuton',
|
|
72942
|
+
'img': 'type-josefinsans-neuton.jpg',
|
|
72943
|
+
'category': 3,
|
|
72944
|
+
'default': false,
|
|
72945
|
+
'caption': 'Josefin Sans & Neuton'
|
|
72946
|
+
}, {
|
|
72947
|
+
'css': 'basetype-stintultracon-inconsolata.css',
|
|
72948
|
+
'sectioncss': 'type-stintultracon-inconsolata.css',
|
|
72949
|
+
'classname': 'type-stintultracon-inconsolata',
|
|
72950
|
+
'img': 'type-stintultracon-inconsolata.jpg',
|
|
72951
|
+
'category': 12,
|
|
72952
|
+
'default': false,
|
|
72953
|
+
'caption': 'Stint Ultra Condensed & Inconsolata'
|
|
72954
|
+
}, {
|
|
72955
|
+
'css': 'basetype-raleway-playfairdisplay.css',
|
|
72956
|
+
'sectioncss': 'type-raleway-playfairdisplay.css',
|
|
72957
|
+
'classname': 'type-raleway-playfairdisplay',
|
|
72958
|
+
'img': 'type-raleway-playfairdisplay.jpg',
|
|
72959
|
+
'category': 1,
|
|
72960
|
+
'default': false,
|
|
72961
|
+
'caption': 'Raleway'
|
|
72962
|
+
}, {
|
|
72963
|
+
'css': 'basetype-ubuntumono-sourcecodepro.css',
|
|
72964
|
+
'sectioncss': 'type-ubuntumono-sourcecodepro.css',
|
|
72965
|
+
'classname': 'type-ubuntumono-sourcecodepro',
|
|
72966
|
+
'img': 'type-ubuntumono-sourcecodepro.jpg',
|
|
72967
|
+
'category': 5,
|
|
72968
|
+
'default': false,
|
|
72969
|
+
'caption': 'Ubuntu Mono & Source Code Pro'
|
|
72970
|
+
}, {
|
|
72971
|
+
'css': 'basetype-sharetechmono-nunito.css',
|
|
72972
|
+
'sectioncss': 'type-sharetechmono-nunito.css',
|
|
72973
|
+
'classname': 'type-sharetechmono-nunito',
|
|
72974
|
+
'img': 'type-sharetechmono-nunito.jpg',
|
|
72975
|
+
'category': 6,
|
|
72976
|
+
'default': false,
|
|
72977
|
+
'caption': 'Share Tech Mono & Nunito'
|
|
72978
|
+
}, {
|
|
72979
|
+
'css': 'basetype-lato.css',
|
|
72980
|
+
'sectioncss': 'type-lato.css',
|
|
72981
|
+
'classname': 'type-lato',
|
|
72982
|
+
'img': 'type-lato.jpg',
|
|
72983
|
+
'category': 1,
|
|
72984
|
+
'default': false,
|
|
72985
|
+
'caption': 'Lato'
|
|
72986
|
+
}, {
|
|
72987
|
+
'css': 'basetype-pathwaygothicone-merriweather.css',
|
|
72988
|
+
'sectioncss': 'type-pathwaygothicone-merriweather.css',
|
|
72989
|
+
'classname': 'type-pathwaygothicone-merriweather',
|
|
72990
|
+
'img': 'type-pathwaygothicone-merriweather.jpg',
|
|
72991
|
+
'category': 3,
|
|
72992
|
+
'default': false,
|
|
72993
|
+
'caption': 'Pathway Gothic One & Merriweather'
|
|
72994
|
+
}, {
|
|
72995
|
+
'css': 'basetype-forum-nanumgothiccoding.css',
|
|
72996
|
+
'sectioncss': 'type-forum-nanumgothiccoding.css',
|
|
72997
|
+
'classname': 'type-forum-nanumgothiccoding',
|
|
72998
|
+
'img': 'type-forum-nanumgothiccoding.jpg',
|
|
72999
|
+
'category': 12,
|
|
73000
|
+
'default': false,
|
|
73001
|
+
'caption': 'Forum & Nanum Gothic Coding'
|
|
73002
|
+
}, {
|
|
73003
|
+
'css': 'basetype-bilbo-halant.css',
|
|
73004
|
+
'sectioncss': 'type-bilbo-halant.css',
|
|
73005
|
+
'classname': 'type-bilbo-halant',
|
|
73006
|
+
'img': 'type-bilbo-halant.jpg',
|
|
73007
|
+
'category': 11,
|
|
73008
|
+
'default': false,
|
|
73009
|
+
'caption': 'Bilbo & Halant'
|
|
73010
|
+
}, {
|
|
73011
|
+
'css': 'basetype-hammersmithone-poppins.css',
|
|
73012
|
+
'sectioncss': 'type-hammersmithone-poppins.css',
|
|
73013
|
+
'classname': 'type-hammersmithone-poppins',
|
|
73014
|
+
'img': 'type-hammersmithone-poppins.jpg',
|
|
73015
|
+
'category': 1,
|
|
73016
|
+
'default': false,
|
|
73017
|
+
'caption': 'Hammersmith One & Poppins'
|
|
73018
|
+
}, {
|
|
73019
|
+
'css': 'basetype-arimamadurai.css',
|
|
73020
|
+
'sectioncss': 'type-arimamadurai.css',
|
|
73021
|
+
'classname': 'type-arimamadurai',
|
|
73022
|
+
'img': 'type-arimamadurai.jpg',
|
|
73023
|
+
'category': 14,
|
|
73024
|
+
'default': false,
|
|
73025
|
+
'caption': 'Arima Madurai'
|
|
73026
|
+
}, {
|
|
73027
|
+
'css': 'basetype-teko-muktamahee.css',
|
|
73028
|
+
'sectioncss': 'type-teko-muktamahee.css',
|
|
73029
|
+
'classname': 'type-teko-muktamahee',
|
|
73030
|
+
'img': 'type-teko-muktamahee.jpg',
|
|
73031
|
+
'category': 1,
|
|
73032
|
+
'default': false,
|
|
73033
|
+
'caption': 'Teko & Mukta Mahee'
|
|
73034
|
+
}, {
|
|
73035
|
+
'css': 'basetype-heebo-ibmplexmono.css',
|
|
73036
|
+
'sectioncss': 'type-heebo-ibmplexmono.css',
|
|
73037
|
+
'classname': 'type-heebo-ibmplexmono',
|
|
73038
|
+
'img': 'type-heebo-ibmplexmono.jpg',
|
|
73039
|
+
'category': 7,
|
|
73040
|
+
'default': false,
|
|
73041
|
+
'caption': 'Heebo & IBM Plex Mono'
|
|
73042
|
+
}, {
|
|
73043
|
+
'css': 'basetype-sairacon-thegirlnextdoor.css',
|
|
73044
|
+
'sectioncss': 'type-sairacon-thegirlnextdoor.css',
|
|
73045
|
+
'classname': 'type-sairacon-thegirlnextdoor',
|
|
73046
|
+
'img': 'type-sairacon-thegirlnextdoor.jpg',
|
|
73047
|
+
'category': 1,
|
|
73048
|
+
'default': false,
|
|
73049
|
+
'caption': 'Saira Condensed'
|
|
73050
|
+
}, {
|
|
73051
|
+
'css': 'basetype-frankruhllibre-lato.css',
|
|
73052
|
+
'sectioncss': 'type-frankruhllibre-lato.css',
|
|
73053
|
+
'classname': 'type-frankruhllibre-lato',
|
|
73054
|
+
'img': 'type-frankruhllibre-lato.jpg',
|
|
73055
|
+
'category': 4,
|
|
73056
|
+
'default': false,
|
|
73057
|
+
'caption': 'Frank Ruhl Libre & Lato'
|
|
73058
|
+
}, {
|
|
73059
|
+
'css': 'basetype-yantramanav-ibmplexserif.css',
|
|
73060
|
+
'sectioncss': 'type-yantramanav-ibmplexserif.css',
|
|
73061
|
+
'classname': 'type-yantramanav-ibmplexserif',
|
|
73062
|
+
'img': 'type-yantramanav-ibmplexserif.jpg',
|
|
73063
|
+
'category': 1,
|
|
73064
|
+
'default': false,
|
|
73065
|
+
'caption': 'Yantramanav & IBM Plex Serif'
|
|
73066
|
+
}, {
|
|
73067
|
+
'css': 'basetype-quicksand-kalam.css',
|
|
73068
|
+
'sectioncss': 'type-quicksand-kalam.css',
|
|
73069
|
+
'classname': 'type-quicksand-kalam',
|
|
73070
|
+
'img': 'type-quicksand-kalam.jpg',
|
|
73071
|
+
'category': 1,
|
|
73072
|
+
'default': false,
|
|
73073
|
+
'caption': 'Quicksand & Kalam'
|
|
73074
|
+
}, {
|
|
73075
|
+
'css': 'basetype-ibmplexmono.css',
|
|
73076
|
+
'sectioncss': 'type-ibmplexmono.css',
|
|
73077
|
+
'classname': 'type-ibmplexmono',
|
|
73078
|
+
'img': 'type-ibmplexmono.jpg',
|
|
73079
|
+
'category': 5,
|
|
73080
|
+
'default': false,
|
|
73081
|
+
'caption': 'IBM Plex Mono'
|
|
73082
|
+
}, {
|
|
73083
|
+
'css': 'basetype-cinzeldecor-palanquin.css',
|
|
73084
|
+
'sectioncss': 'type-cinzeldecor-palanquin.css',
|
|
73085
|
+
'classname': 'type-cinzeldecor-palanquin',
|
|
73086
|
+
'img': 'type-cinzeldecor-palanquin.jpg',
|
|
73087
|
+
'category': 8,
|
|
73088
|
+
'default': false,
|
|
73089
|
+
'caption': 'Cinzel Decorative & Palanquin'
|
|
73090
|
+
}, {
|
|
73091
|
+
'css': 'basetype-oswald-biryani.css',
|
|
73092
|
+
'sectioncss': 'type-oswald-biryani.css',
|
|
73093
|
+
'classname': 'type-oswald-biryani',
|
|
73094
|
+
'img': 'type-oswald-biryani.jpg',
|
|
73095
|
+
'category': 1,
|
|
73096
|
+
'default': false,
|
|
73097
|
+
'caption': 'Oswald & Biryani'
|
|
73098
|
+
}, {
|
|
73099
|
+
'css': 'basetype-yanonekaff-josefinsans.css',
|
|
73100
|
+
'sectioncss': 'type-yanonekaff-josefinsans.css',
|
|
73101
|
+
'classname': 'type-yanonekaff-josefinsans',
|
|
73102
|
+
'img': 'type-yanonekaff-josefinsans.jpg',
|
|
73103
|
+
'category': 1,
|
|
73104
|
+
'default': false,
|
|
73105
|
+
'caption': 'Yanone Kaffeesatz & Josefin Sans'
|
|
73106
|
+
}, {
|
|
73107
|
+
'css': 'basetype-abrilfatface-assistant.css',
|
|
73108
|
+
'sectioncss': 'type-abrilfatface-assistant.css',
|
|
73109
|
+
'classname': 'type-abrilfatface-assistant',
|
|
73110
|
+
'img': 'type-abrilfatface-assistant.jpg',
|
|
73111
|
+
'category': 8,
|
|
73112
|
+
'default': false,
|
|
73113
|
+
'caption': 'Abril Fatface & Assistant'
|
|
73114
|
+
}, {
|
|
73115
|
+
'css': 'basetype-nanumgothiccod-firasanscon.css',
|
|
73116
|
+
'sectioncss': 'type-nanumgothiccod-firasanscon.css',
|
|
73117
|
+
'classname': 'type-nanumgothiccod-firasanscon',
|
|
73118
|
+
'img': 'type-nanumgothiccod-firasanscon.jpg',
|
|
73119
|
+
'category': 6,
|
|
73120
|
+
'default': false,
|
|
73121
|
+
'caption': 'Nanum Gothic Coding & Fira Sans Condensed'
|
|
73122
|
+
}, {
|
|
73123
|
+
'css': 'basetype-inder-trirong.css',
|
|
73124
|
+
'sectioncss': 'type-inder-trirong.css',
|
|
73125
|
+
'classname': 'type-inder-trirong',
|
|
73126
|
+
'img': 'type-inder-trirong.jpg',
|
|
73127
|
+
'category': 3,
|
|
73128
|
+
'default': false,
|
|
73129
|
+
'caption': 'Inder & Trirong'
|
|
73130
|
+
}, {
|
|
73131
|
+
'css': 'basetype-atma-tajawal.css',
|
|
73132
|
+
'sectioncss': 'type-atma-tajawal.css',
|
|
73133
|
+
'classname': 'type-atma-tajawal',
|
|
73134
|
+
'img': 'type-atma-tajawal.jpg',
|
|
73135
|
+
'category': 8,
|
|
73136
|
+
'default': false,
|
|
73137
|
+
'caption': 'Atma & Tajawal'
|
|
73138
|
+
}, {
|
|
73139
|
+
'css': 'basetype-prata-hindsiliguri.css',
|
|
73140
|
+
'sectioncss': 'type-prata-hindsiliguri.css',
|
|
73141
|
+
'classname': 'type-prata-hindsiliguri',
|
|
73142
|
+
'img': 'type-prata-hindsiliguri.jpg',
|
|
73143
|
+
'category': 4,
|
|
73144
|
+
'default': false,
|
|
73145
|
+
'caption': 'Prata & Hind Siliguri'
|
|
73146
|
+
}, {
|
|
73147
|
+
'css': 'basetype-federo-gothica1.css',
|
|
73148
|
+
'sectioncss': 'type-federo-gothica1.css',
|
|
73149
|
+
'classname': 'type-federo-gothica1',
|
|
73150
|
+
'img': 'type-federo-gothica1.jpg',
|
|
73151
|
+
'category': 1,
|
|
73152
|
+
'default': false,
|
|
73153
|
+
'caption': 'Federo & Gothic A1'
|
|
73154
|
+
}, {
|
|
73155
|
+
'css': 'basetype-fjallaone-ibmplexserif.css',
|
|
73156
|
+
'sectioncss': 'type-fjallaone-ibmplexserif.css',
|
|
73157
|
+
'classname': 'type-fjallaone-ibmplexserif',
|
|
73158
|
+
'img': 'type-fjallaone-ibmplexserif.jpg',
|
|
73159
|
+
'category': 3,
|
|
73160
|
+
'default': false,
|
|
73161
|
+
'caption': 'Fjalla One & IBM Plex Serif'
|
|
73162
|
+
}, {
|
|
73163
|
+
'css': 'basetype-cormorantsc-ibmplexsanscon.css',
|
|
73164
|
+
'sectioncss': 'type-cormorantsc-ibmplexsanscon.css',
|
|
73165
|
+
'classname': 'type-cormorantsc-ibmplexsanscon',
|
|
73166
|
+
'img': 'type-cormorantsc-ibmplexsanscon.jpg',
|
|
73167
|
+
'category': 4,
|
|
73168
|
+
'default': false,
|
|
73169
|
+
'caption': 'Cormorant SC & IBM Plex Sans Condensed'
|
|
73170
|
+
}, {
|
|
73171
|
+
'css': 'basetype-kalam-robotomono.css',
|
|
73172
|
+
'sectioncss': 'type-kalam-robotomono.css',
|
|
73173
|
+
'classname': 'type-kalam-robotomono',
|
|
73174
|
+
'img': 'type-kalam-robotomono.jpg',
|
|
73175
|
+
'category': 13,
|
|
73176
|
+
'default': false,
|
|
73177
|
+
'caption': 'Kalam & Roboto Mono'
|
|
73178
|
+
}, {
|
|
73179
|
+
'css': 'basetype-fugazone-librefranklin.css',
|
|
73180
|
+
'sectioncss': 'type-fugazone-librefranklin.css',
|
|
73181
|
+
'classname': 'type-fugazone-librefranklin',
|
|
73182
|
+
'img': 'type-fugazone-librefranklin.jpg',
|
|
73183
|
+
'category': 8,
|
|
73184
|
+
'default': false,
|
|
73185
|
+
'caption': 'Fugaz One & Libre Franklin'
|
|
73186
|
+
}, {
|
|
73187
|
+
'css': 'basetype-yeonsung-palanquin.css',
|
|
73188
|
+
'sectioncss': 'type-yeonsung-palanquin.css',
|
|
73189
|
+
'classname': 'type-yeonsung-palanquin',
|
|
73190
|
+
'img': 'type-yeonsung-palanquin.jpg',
|
|
73191
|
+
'category': 8,
|
|
73192
|
+
'default': false,
|
|
73193
|
+
'caption': 'Yeon Sung & Palanquin'
|
|
73194
|
+
}, {
|
|
73195
|
+
'css': 'basetype-rancho-robotoslab.css',
|
|
73196
|
+
'sectioncss': 'type-rancho-robotoslab.css',
|
|
73197
|
+
'classname': 'type-rancho-robotoslab',
|
|
73198
|
+
'img': 'type-rancho-robotoslab.jpg',
|
|
73199
|
+
'category': 11,
|
|
73200
|
+
'default': false,
|
|
73201
|
+
'caption': 'Rancho & Roboto Slab'
|
|
73202
|
+
}, {
|
|
73203
|
+
'css': 'basetype-tenaram-overpassmono.css',
|
|
73204
|
+
'sectioncss': 'type-tenaram-overpassmono.css',
|
|
73205
|
+
'classname': 'type-tenaram-overpassmono',
|
|
73206
|
+
'img': 'type-tenaram-overpassmono.jpg',
|
|
73207
|
+
'category': 7,
|
|
73208
|
+
'default': false,
|
|
73209
|
+
'caption': 'Tenali Ramakrishna & Overpass Mono'
|
|
73210
|
+
}, {
|
|
73211
|
+
'css': 'basetype-thegirlnextdoor-sourcesanspro.css',
|
|
73212
|
+
'sectioncss': 'type-thegirlnextdoor-sourcesanspro.css',
|
|
73213
|
+
'classname': 'type-thegirlnextdoor-sourcesanspro',
|
|
73214
|
+
'img': 'type-thegirlnextdoor-sourcesanspro.jpg',
|
|
73215
|
+
'category': 9,
|
|
73216
|
+
'default': false,
|
|
73217
|
+
'caption': 'The Girl Next Door & Source Sans Pro'
|
|
73218
|
+
}, {
|
|
73219
|
+
'css': 'basetype-boogaloo-inconsolata.css',
|
|
73220
|
+
'sectioncss': 'type-boogaloo-inconsolata.css',
|
|
73221
|
+
'classname': 'type-boogaloo-inconsolata',
|
|
73222
|
+
'img': 'type-boogaloo-inconsolata.jpg',
|
|
73223
|
+
'category': 12,
|
|
73224
|
+
'default': false,
|
|
73225
|
+
'caption': 'Boogaloo & Inconsolata'
|
|
73226
|
+
}, {
|
|
73227
|
+
'css': 'basetype-caveat-sourcecodepro.css',
|
|
73228
|
+
'sectioncss': 'type-caveat-sourcecodepro.css',
|
|
73229
|
+
'classname': 'type-caveat-sourcecodepro',
|
|
73230
|
+
'img': 'type-caveat-sourcecodepro.jpg',
|
|
73231
|
+
'category': 13,
|
|
73232
|
+
'default': false,
|
|
73233
|
+
'caption': 'Caveat & Source Code Pro'
|
|
73234
|
+
}, {
|
|
73235
|
+
'css': 'basetype-passionone-worksans.css',
|
|
73236
|
+
'sectioncss': 'type-passionone-worksans.css',
|
|
73237
|
+
'classname': 'type-passionone-worksans',
|
|
73238
|
+
'img': 'type-passionone-worksans.jpg',
|
|
73239
|
+
'category': 8,
|
|
73240
|
+
'default': false,
|
|
73241
|
+
'caption': 'Passion One & Work Sans'
|
|
73242
|
+
}, {
|
|
73243
|
+
'css': 'basetype-anticdidone-halant.css',
|
|
73244
|
+
'sectioncss': 'type-anticdidone-halant.css',
|
|
73245
|
+
'classname': 'type-anticdidone-halant',
|
|
73246
|
+
'img': 'type-anticdidone-halant.jpg',
|
|
73247
|
+
'category': 2,
|
|
73248
|
+
'default': false,
|
|
73249
|
+
'caption': 'Antic Didone & Halant'
|
|
73250
|
+
}, {
|
|
73251
|
+
'css': 'basetype-adventpro-opensans.css',
|
|
73252
|
+
'sectioncss': 'type-adventpro-opensans.css',
|
|
73253
|
+
'classname': 'type-adventpro-opensans',
|
|
73254
|
+
'img': 'type-adventpro-opensans.jpg',
|
|
73255
|
+
'category': 1,
|
|
73256
|
+
'default': false,
|
|
73257
|
+
'caption': 'Advent Pro & Open Sans'
|
|
73258
|
+
}, {
|
|
73259
|
+
'css': 'basetype-cutivemono-lato.css',
|
|
73260
|
+
'sectioncss': 'type-cutivemono-lato.css',
|
|
73261
|
+
'classname': 'type-cutivemono-lato',
|
|
73262
|
+
'img': 'type-cutivemono-lato.jpg',
|
|
73263
|
+
'category': 6,
|
|
73264
|
+
'default': false,
|
|
73265
|
+
'caption': 'Cutive Mono & Lato'
|
|
73266
|
+
}, {
|
|
73267
|
+
'css': 'basetype-elsie-montserrat.css',
|
|
73268
|
+
'sectioncss': 'type-elsie-montserrat.css',
|
|
73269
|
+
'classname': 'type-elsie-montserrat',
|
|
73270
|
+
'img': 'type-elsie-montserrat.jpg',
|
|
73271
|
+
'category': 8,
|
|
73272
|
+
'default': false,
|
|
73273
|
+
'caption': 'Elsie & Montserrat'
|
|
73274
|
+
}, {
|
|
73275
|
+
'css': 'basetype-macondo-mukta.css',
|
|
73276
|
+
'sectioncss': 'type-macondo-mukta.css',
|
|
73277
|
+
'classname': 'type-macondo-mukta',
|
|
73278
|
+
'img': 'type-macondo-mukta.jpg',
|
|
73279
|
+
'category': 8,
|
|
73280
|
+
'default': false,
|
|
73281
|
+
'caption': 'Macondo & Mukta'
|
|
73282
|
+
}, {
|
|
73283
|
+
'css': 'basetype-oswald-opensans.css',
|
|
73284
|
+
'sectioncss': 'type-oswald-opensans.css',
|
|
73285
|
+
'classname': 'type-oswald-opensans',
|
|
73286
|
+
'img': 'type-oswald-opensans.jpg',
|
|
73287
|
+
'category': 1,
|
|
73288
|
+
'default': false,
|
|
73289
|
+
'caption': 'Oswald & Open Sans'
|
|
73290
|
+
}, {
|
|
73291
|
+
'css': 'basetype-poppins-lekton.css',
|
|
73292
|
+
'sectioncss': 'type-poppins-lekton.css',
|
|
73293
|
+
'classname': 'type-poppins-lekton',
|
|
73294
|
+
'img': 'type-poppins-lekton.jpg',
|
|
73295
|
+
'category': 1,
|
|
73296
|
+
'default': false,
|
|
73297
|
+
'caption': 'Poppins & Lekton'
|
|
73298
|
+
}, {
|
|
73299
|
+
'css': 'basetype-raleway-neuton.css',
|
|
73300
|
+
'sectioncss': 'type-raleway-neuton.css',
|
|
73301
|
+
'classname': 'type-raleway-neuton',
|
|
73302
|
+
'img': 'type-raleway-neuton.jpg',
|
|
73303
|
+
'category': 3,
|
|
73304
|
+
'default': false,
|
|
73305
|
+
'caption': 'Raleway & Neuton'
|
|
73306
|
+
}, {
|
|
73307
|
+
'css': 'basetype-sourcecodepro-nunitosans.css',
|
|
73308
|
+
'sectioncss': 'type-sourcecodepro-nunitosans.css',
|
|
73309
|
+
'classname': 'type-sourcecodepro-nunitosans',
|
|
73310
|
+
'img': 'type-sourcecodepro-nunitosans.jpg',
|
|
73311
|
+
'category': 6,
|
|
73312
|
+
'default': false,
|
|
73313
|
+
'caption': 'Source Code Pro & Nunito Sans'
|
|
73314
|
+
}, {
|
|
73315
|
+
'css': 'basetype-tangerine-opensans.css',
|
|
73316
|
+
'sectioncss': 'type-tangerine-opensans.css',
|
|
73317
|
+
'classname': 'type-tangerine-opensans',
|
|
73318
|
+
'img': 'type-tangerine-opensans.jpg',
|
|
73319
|
+
'category': 9,
|
|
73320
|
+
'default': false,
|
|
73321
|
+
'caption': 'Tangerine & Open Sans'
|
|
73322
|
+
}, {
|
|
73323
|
+
'css': 'basetype-alegreya-lato.css',
|
|
73324
|
+
'sectioncss': 'type-alegreya-lato.css',
|
|
73325
|
+
'classname': 'type-alegreya-lato',
|
|
73326
|
+
'img': 'type-alegreya-lato.jpg',
|
|
73327
|
+
'category': 4,
|
|
73328
|
+
'default': false,
|
|
73329
|
+
'caption': 'Alegreya & Lato'
|
|
73330
|
+
}, {
|
|
73331
|
+
'css': 'basetype-amaticsc-lato.css',
|
|
73332
|
+
'sectioncss': 'type-amaticsc-lato.css',
|
|
73333
|
+
'classname': 'type-amaticsc-lato',
|
|
73334
|
+
'img': 'type-amaticsc-lato.jpg',
|
|
73335
|
+
'category': 9,
|
|
73336
|
+
'default': false,
|
|
73337
|
+
'caption': 'Amatic SC & Lato'
|
|
73338
|
+
}, {
|
|
73339
|
+
'css': 'basetype-heebo-ibmplexmono-2.css',
|
|
73340
|
+
'sectioncss': 'type-heebo-ibmplexmono-2.css',
|
|
73341
|
+
'classname': 'type-heebo-ibmplexmono-2',
|
|
73342
|
+
'img': 'type-heebo-ibmplexmono-2.jpg',
|
|
73343
|
+
'category': 7,
|
|
73344
|
+
'default': false,
|
|
73345
|
+
'caption': 'Heebo & IBM Plex Mono'
|
|
73346
|
+
}, {
|
|
73347
|
+
'css': 'basetype-juliussansone-robotocondensed.css',
|
|
73348
|
+
'sectioncss': 'type-juliussansone-robotocondensed.css',
|
|
73349
|
+
'classname': 'type-juliussansone-robotocondensed',
|
|
73350
|
+
'img': 'type-juliussansone-robotocondensed.jpg',
|
|
73351
|
+
'category': 1,
|
|
73352
|
+
'default': false,
|
|
73353
|
+
'caption': 'Julius Sans One & Roboto Condensed'
|
|
73354
|
+
}, {
|
|
73355
|
+
'css': 'basetype-montserrat-roboto.css',
|
|
73356
|
+
'sectioncss': 'type-montserrat-roboto.css',
|
|
73357
|
+
'classname': 'type-montserrat-roboto',
|
|
73358
|
+
'img': 'type-montserrat-roboto.jpg',
|
|
73359
|
+
'category': 1,
|
|
73360
|
+
'default': false,
|
|
73361
|
+
'caption': 'Montserrat & Roboto'
|
|
73362
|
+
}, {
|
|
73363
|
+
'css': 'basetype-nothingyouc-ibmplexmono-2.css',
|
|
73364
|
+
'sectioncss': 'type-nothingyouc-ibmplexmono-2.css',
|
|
73365
|
+
'classname': 'type-nothingyouc-ibmplexmono-2',
|
|
73366
|
+
'img': 'type-nothingyouc-ibmplexmono-2.jpg',
|
|
73367
|
+
'category': 13,
|
|
73368
|
+
'default': false,
|
|
73369
|
+
'caption': 'Nothing You Could Do & IBM Plex Mono'
|
|
73370
|
+
}, {
|
|
73371
|
+
'css': 'basetype-raleway-lato.css',
|
|
73372
|
+
'sectioncss': 'type-raleway-lato.css',
|
|
73373
|
+
'classname': 'type-raleway-lato',
|
|
73374
|
+
'img': 'type-raleway-lato.jpg',
|
|
73375
|
+
'category': 1,
|
|
73376
|
+
'default': false,
|
|
73377
|
+
'caption': 'Raleway & Lato'
|
|
73378
|
+
}, {
|
|
73379
|
+
'css': 'basetype-raleway-lusitana.css',
|
|
73380
|
+
'sectioncss': 'type-raleway-lusitana.css',
|
|
73381
|
+
'classname': 'type-raleway-lusitana',
|
|
73382
|
+
'img': 'type-raleway-lusitana.jpg',
|
|
73383
|
+
'category': 3,
|
|
73384
|
+
'default': false,
|
|
73385
|
+
'caption': 'Raleway & Lusitana'
|
|
73386
|
+
}, {
|
|
73387
|
+
'css': 'basetype-rufina-oxygen.css',
|
|
73388
|
+
'sectioncss': 'type-rufina-oxygen.css',
|
|
73389
|
+
'classname': 'type-rufina-oxygen',
|
|
73390
|
+
'img': 'type-rufina-oxygen.jpg',
|
|
73391
|
+
'category': 4,
|
|
73392
|
+
'default': false,
|
|
73393
|
+
'caption': 'Rufina & Oxygen'
|
|
73394
|
+
}, {
|
|
73395
|
+
'css': 'basetype-sacramento-opensans.css',
|
|
73396
|
+
'sectioncss': 'type-sacramento-opensans.css',
|
|
73397
|
+
'classname': 'type-sacramento-opensans',
|
|
73398
|
+
'img': 'type-sacramento-opensans.jpg',
|
|
73399
|
+
'category': 9,
|
|
73400
|
+
'default': false,
|
|
73401
|
+
'caption': 'Sacramento & Open Sans'
|
|
73402
|
+
}, {
|
|
73403
|
+
'css': 'basetype-specialelite-playfairdisplay.css',
|
|
73404
|
+
'sectioncss': 'type-specialelite-playfairdisplay.css',
|
|
73405
|
+
'classname': 'type-specialelite-playfairdisplay',
|
|
73406
|
+
'img': 'type-specialelite-playfairdisplay.jpg',
|
|
73407
|
+
'category': 10,
|
|
73408
|
+
'default': false,
|
|
73409
|
+
'caption': 'Special Elite & Playfair Display'
|
|
73410
|
+
}, {
|
|
73411
|
+
'css': 'basetype-unicaone-sourcesanspro.css',
|
|
73412
|
+
'sectioncss': 'type-unicaone-sourcesanspro.css',
|
|
73413
|
+
'classname': 'type-unicaone-sourcesanspro',
|
|
73414
|
+
'img': 'type-unicaone-sourcesanspro.jpg',
|
|
73415
|
+
'category': 8,
|
|
73416
|
+
'default': false,
|
|
73417
|
+
'caption': 'Unica One & Source Sans Pro'
|
|
73418
|
+
}, {
|
|
73419
|
+
'css': 'basetype-amaticsc-josepfinsans.css',
|
|
73420
|
+
'sectioncss': 'type-amaticsc-josepfinsans.css',
|
|
73421
|
+
'classname': 'type-amaticsc-josepfinsans',
|
|
73422
|
+
'img': 'type-amaticsc-josepfinsans.jpg',
|
|
73423
|
+
'category': 9,
|
|
73424
|
+
'default': true,
|
|
73425
|
+
'caption': 'Amatic SC & Josefin Sans'
|
|
73426
|
+
}, {
|
|
73427
|
+
'css': 'basetype-sourcesanspro-anonymouspro.css',
|
|
73428
|
+
'sectioncss': 'type-sourcesanspro-anonymouspro.css',
|
|
73429
|
+
'classname': 'type-sourcesanspro-anonymouspro',
|
|
73430
|
+
'img': 'type-sourcesanspro-anonymouspro.jpg',
|
|
73431
|
+
'category': 7,
|
|
73432
|
+
'default': true,
|
|
73433
|
+
'caption': 'Source Sans Pro & Anonymous Pro'
|
|
73434
|
+
}, {
|
|
73435
|
+
'css': 'basetype-poppins-oldstandardtt.css',
|
|
73436
|
+
'sectioncss': 'type-poppins-oldstandardtt.css',
|
|
73437
|
+
'classname': 'type-poppins-oldstandardtt',
|
|
73438
|
+
'img': 'type-poppins-oldstandardtt.jpg',
|
|
73439
|
+
'category': 3,
|
|
73440
|
+
'default': true,
|
|
73441
|
+
'caption': 'Poppins & Old Standard TT'
|
|
73442
|
+
}, {
|
|
73443
|
+
'css': 'basetype-yesteryear-chivo.css',
|
|
73444
|
+
'sectioncss': 'type-yesteryear-chivo.css',
|
|
73445
|
+
'classname': 'type-yesteryear-chivo',
|
|
73446
|
+
'img': 'type-yesteryear-chivo.jpg',
|
|
73447
|
+
'category': 9,
|
|
73448
|
+
'default': true,
|
|
73449
|
+
'caption': 'Yesteryear & Chivo'
|
|
73450
|
+
}, {
|
|
73451
|
+
'css': 'basetype-ptserif-poppins.css',
|
|
73452
|
+
'sectioncss': 'type-ptserif-poppins.css',
|
|
73453
|
+
'classname': 'type-ptserif-poppins',
|
|
73454
|
+
'img': 'type-ptserif-poppins.jpg',
|
|
73455
|
+
'category': 4,
|
|
73456
|
+
'default': true,
|
|
73457
|
+
'caption': 'PT Serif & Poppins'
|
|
73458
|
+
}, {
|
|
73459
|
+
'css': 'basetype-kellyslab-yantramanav.css',
|
|
73460
|
+
'sectioncss': 'type-kellyslab-yantramanav.css',
|
|
73461
|
+
'classname': 'type-kellyslab-yantramanav',
|
|
73462
|
+
'img': 'type-kellyslab-yantramanav.jpg',
|
|
73463
|
+
'category': 8,
|
|
73464
|
+
'default': true,
|
|
73465
|
+
'caption': 'Kelly Slab & Yantramanav'
|
|
73466
|
+
}, {
|
|
73467
|
+
'css': 'basetype-yellowtail-frankruhllibre.css',
|
|
73468
|
+
'sectioncss': 'type-yellowtail-frankruhllibre.css',
|
|
73469
|
+
'classname': 'type-yellowtail-frankruhllibre',
|
|
73470
|
+
'img': 'type-yellowtail-frankruhllibre.jpg',
|
|
73471
|
+
'category': 11,
|
|
73472
|
+
'default': true,
|
|
73473
|
+
'caption': 'Yellowtail & Frank Ruhl Libre'
|
|
73474
|
+
}, {
|
|
73475
|
+
'css': 'basetype-sedgwickave-spectral.css',
|
|
73476
|
+
'sectioncss': 'type-sedgwickave-spectral.css',
|
|
73477
|
+
'classname': 'type-sedgwickave-spectral',
|
|
73478
|
+
'img': 'type-sedgwickave-spectral.jpg',
|
|
73479
|
+
'category': 10,
|
|
73480
|
+
'default': false,
|
|
73481
|
+
'caption': 'Sedgwick Ave & Spectral'
|
|
73482
|
+
}, {
|
|
73483
|
+
'css': 'basetype-satisfy-economica.css',
|
|
73484
|
+
'sectioncss': 'type-satisfy-economica.css',
|
|
73485
|
+
'classname': 'type-satisfy-economica',
|
|
73486
|
+
'img': 'type-satisfy-economica.jpg',
|
|
73487
|
+
'category': 9,
|
|
73488
|
+
'default': false,
|
|
73489
|
+
'caption': 'Satisfy & Economica'
|
|
73490
|
+
}, {
|
|
73491
|
+
'css': 'basetype-josefinsans-lekton.css',
|
|
73492
|
+
'sectioncss': 'type-josefinsans-lekton.css',
|
|
73493
|
+
'classname': 'type-josefinsans-lekton',
|
|
73494
|
+
'img': 'type-josefinsans-lekton.jpg',
|
|
73495
|
+
'category': 1,
|
|
73496
|
+
'default': false,
|
|
73497
|
+
'caption': 'Josefin Sans & Lekton'
|
|
73498
|
+
}, {
|
|
73499
|
+
'css': 'basetype-parisienne-maitree.css',
|
|
73500
|
+
'sectioncss': 'type-parisienne-maitree.css',
|
|
73501
|
+
'classname': 'type-parisienne-maitree',
|
|
73502
|
+
'img': 'type-parisienne-maitree.jpg',
|
|
73503
|
+
'category': 11,
|
|
73504
|
+
'default': false,
|
|
73505
|
+
'caption': 'Parisienne & Maitree'
|
|
73506
|
+
}, {
|
|
73507
|
+
'css': 'basetype-londrinashadow-martel.css',
|
|
73508
|
+
'sectioncss': 'type-londrinashadow-martel.css',
|
|
73509
|
+
'classname': 'type-londrinashadow-martel',
|
|
73510
|
+
'img': 'type-londrinashadow-martel.jpg',
|
|
73511
|
+
'category': 10,
|
|
73512
|
+
'default': false,
|
|
73513
|
+
'caption': 'Londrina Shadow & Martel'
|
|
73514
|
+
}, {
|
|
73515
|
+
'css': 'basetype-poiretone-pridi.css',
|
|
73516
|
+
'sectioncss': 'type-poiretone-pridi.css',
|
|
73517
|
+
'classname': 'type-poiretone-pridi',
|
|
73518
|
+
'img': 'type-poiretone-pridi.jpg',
|
|
73519
|
+
'category': 10,
|
|
73520
|
+
'default': false,
|
|
73521
|
+
'caption': 'Poiret One & Pridi'
|
|
73522
|
+
}, {
|
|
73523
|
+
'css': 'basetype-pollerone-ibmplexserif.css',
|
|
73524
|
+
'sectioncss': 'type-pollerone-ibmplexserif.css',
|
|
73525
|
+
'classname': 'type-pollerone-ibmplexserif',
|
|
73526
|
+
'img': 'type-pollerone-ibmplexserif.jpg',
|
|
73527
|
+
'category': 10,
|
|
73528
|
+
'default': false,
|
|
73529
|
+
'caption': 'Poller One & IBM Plex Serif'
|
|
73530
|
+
}, {
|
|
73531
|
+
'css': 'basetype-italiana-martel.css',
|
|
73532
|
+
'sectioncss': 'type-italiana-martel.css',
|
|
73533
|
+
'classname': 'type-italiana-martel',
|
|
73534
|
+
'img': 'type-italiana-martel.jpg',
|
|
73535
|
+
'category': 2,
|
|
73536
|
+
'default': false,
|
|
73537
|
+
'caption': 'Italiana & Martel'
|
|
73538
|
+
}, {
|
|
73539
|
+
'css': 'basetype-julee-lora.css',
|
|
73540
|
+
'sectioncss': 'type-julee-lora.css',
|
|
73541
|
+
'classname': 'type-julee-lora',
|
|
73542
|
+
'img': 'type-julee-lora.jpg',
|
|
73543
|
+
'category': 11,
|
|
73544
|
+
'default': false,
|
|
73545
|
+
'caption': 'Julee & Lora'
|
|
73546
|
+
}, {
|
|
73547
|
+
'css': 'basetype-sixcaps-robotomono.css',
|
|
73548
|
+
'sectioncss': 'type-sixcaps-robotomono.css',
|
|
73549
|
+
'classname': 'type-sixcaps-robotomono',
|
|
73550
|
+
'img': 'type-sixcaps-robotomono.jpg',
|
|
73551
|
+
'category': 7,
|
|
73552
|
+
'default': false,
|
|
73553
|
+
'caption': 'Six Caps & Roboto Mono'
|
|
73554
|
+
}, {
|
|
73555
|
+
'css': 'basetype-pacifico-nanumgothiccod.css',
|
|
73556
|
+
'sectioncss': 'type-pacifico-nanumgothiccod.css',
|
|
73557
|
+
'classname': 'type-pacifico-nanumgothiccod',
|
|
73558
|
+
'img': 'type-pacifico-nanumgothiccod.jpg',
|
|
73559
|
+
'category': 13,
|
|
73560
|
+
'default': false,
|
|
73561
|
+
'caption': 'Pacifico & Nanum Gothic Coding'
|
|
73562
|
+
}, {
|
|
73563
|
+
'css': 'basetype-greatvibes-robotomono.css',
|
|
73564
|
+
'sectioncss': 'type-greatvibes-robotomono.css',
|
|
73565
|
+
'classname': 'type-greatvibes-robotomono',
|
|
73566
|
+
'img': 'type-greatvibes-robotomono.jpg',
|
|
73567
|
+
'category': 13,
|
|
73568
|
+
'default': false,
|
|
73569
|
+
'caption': 'Great Vibes & Roboto Mono'
|
|
73570
|
+
}, {
|
|
73571
|
+
'css': 'basetype-pinyonscript-firasans.css',
|
|
73572
|
+
'sectioncss': 'type-pinyonscript-firasans.css',
|
|
73573
|
+
'classname': 'type-pinyonscript-firasans',
|
|
73574
|
+
'img': 'type-pinyonscript-firasans.jpg',
|
|
73575
|
+
'category': 9,
|
|
73576
|
+
'default': false,
|
|
73577
|
+
'caption': 'Pinyon Script & Fira Sans'
|
|
73578
|
+
}, {
|
|
73579
|
+
'css': 'basetype-sail-rasa.css',
|
|
73580
|
+
'sectioncss': 'type-sail-rasa.css',
|
|
73581
|
+
'classname': 'type-sail-rasa',
|
|
73582
|
+
'img': 'type-sail-rasa.jpg',
|
|
73583
|
+
'category': 10,
|
|
73584
|
+
'default': false,
|
|
73585
|
+
'caption': 'Sail & Rasa'
|
|
73586
|
+
}, {
|
|
73587
|
+
'css': 'basetype-yesevaone-forum.css',
|
|
73588
|
+
'sectioncss': 'type-yesevaone-forum.css',
|
|
73589
|
+
'classname': 'type-yesevaone-forum',
|
|
73590
|
+
'img': 'type-yesevaone-forum.jpg',
|
|
73591
|
+
'category': 14,
|
|
73592
|
+
'default': false,
|
|
73593
|
+
'caption': 'Yeseva One & Forum'
|
|
73594
|
+
}, {
|
|
73595
|
+
'css': 'basetype-dosis-oldstandardtt.css',
|
|
73596
|
+
'sectioncss': 'type-dosis-oldstandardtt.css',
|
|
73597
|
+
'classname': 'type-dosis-oldstandardtt',
|
|
73598
|
+
'img': 'type-dosis-oldstandardtt.jpg',
|
|
73599
|
+
'category': 1,
|
|
73600
|
+
'default': false,
|
|
73601
|
+
'caption': 'Dosis & Old Standard TT'
|
|
73602
|
+
}, {
|
|
73603
|
+
'css': 'basetype-engagement-spectral.css',
|
|
73604
|
+
'sectioncss': 'type-engagement-spectral.css',
|
|
73605
|
+
'classname': 'type-engagement-spectral',
|
|
73606
|
+
'img': 'type-engagement-spectral.jpg',
|
|
73607
|
+
'category': 11,
|
|
73608
|
+
'default': false,
|
|
73609
|
+
'caption': 'Engagement & Spectral'
|
|
73610
|
+
}, {
|
|
73611
|
+
'css': 'basetype-dynalight-mada.css',
|
|
73612
|
+
'sectioncss': 'type-dynalight-mada.css',
|
|
73613
|
+
'classname': 'type-dynalight-mada',
|
|
73614
|
+
'img': 'type-dynalight-mada.jpg',
|
|
73615
|
+
'category': 8,
|
|
73616
|
+
'default': false,
|
|
73617
|
+
'caption': 'Dynalight & Mada'
|
|
73618
|
+
}, {
|
|
73619
|
+
'css': 'basetype-gravitasone-nanummyeongjo.css',
|
|
73620
|
+
'sectioncss': 'type-gravitasone-nanummyeongjo.css',
|
|
73621
|
+
'classname': 'type-gravitasone-nanummyeongjo',
|
|
73622
|
+
'img': 'type-gravitasone-nanummyeongjo.jpg',
|
|
73623
|
+
'category': 10,
|
|
73624
|
+
'default': false,
|
|
73625
|
+
'caption': 'Gravitas One & Nanum Myeongjo'
|
|
73626
|
+
}, {
|
|
73627
|
+
'css': 'basetype-alexbrush-ibmplexsans.css',
|
|
73628
|
+
'sectioncss': 'type-alexbrush-ibmplexsans.css',
|
|
73629
|
+
'classname': 'type-alexbrush-ibmplexsans',
|
|
73630
|
+
'img': 'type-alexbrush-ibmplexsans.jpg',
|
|
73631
|
+
'category': 9,
|
|
73632
|
+
'default': false,
|
|
73633
|
+
'caption': 'Alex Brush & IBM Plex Sans'
|
|
73634
|
+
}]
|
|
73635
|
+
}
|
|
73636
|
+
},
|
|
72631
73637
|
|
|
72632
73638
|
/* Old Version (backward compatible) */
|
|
72633
73639
|
onAddSectionOpen: function () {},
|
|
@@ -72670,6 +73676,10 @@ class ContentBox {
|
|
|
72670
73676
|
this.settings.designPathReplace = this.settings.snippetPathReplace;
|
|
72671
73677
|
}
|
|
72672
73678
|
|
|
73679
|
+
if (this.settings.contentStyleWithSample) {
|
|
73680
|
+
this.settings.contentStyles = this.settings.contentStylesAlt;
|
|
73681
|
+
}
|
|
73682
|
+
|
|
72673
73683
|
this.wrapperEl = document.querySelector(this.wrapper);
|
|
72674
73684
|
|
|
72675
73685
|
if (dom.hasClass(this.wrapperEl, 'preview')) {
|
|
@@ -72884,20 +73894,44 @@ class ContentBox {
|
|
|
72884
73894
|
fileSelect: this.settings.fileSelect,
|
|
72885
73895
|
imageSelect: this.settings.imageSelect,
|
|
72886
73896
|
videoSelect: this.settings.videoSelect,
|
|
72887
|
-
onContentClick:
|
|
72888
|
-
this.
|
|
72889
|
-
|
|
72890
|
-
|
|
72891
|
-
|
|
72892
|
-
|
|
72893
|
-
|
|
72894
|
-
|
|
72895
|
-
|
|
72896
|
-
|
|
72897
|
-
|
|
72898
|
-
|
|
72899
|
-
|
|
72900
|
-
|
|
73897
|
+
onContentClick: e => {
|
|
73898
|
+
if (this.settings.onContentClick) this.settings.onContentClick();
|
|
73899
|
+
let elm = e.target;
|
|
73900
|
+
let editable = elm.closest('[contenteditable="true"]');
|
|
73901
|
+
|
|
73902
|
+
if (!editable) {
|
|
73903
|
+
// only for locked/protected content
|
|
73904
|
+
let link = this.editor.dom.getParentElement(elm, 'a');
|
|
73905
|
+
|
|
73906
|
+
if (elm.tagName.toLowerCase() === 'a' || link) {
|
|
73907
|
+
if (elm.tagName.toLowerCase() === 'a') link = elm;
|
|
73908
|
+
let url = link.getAttribute('href');
|
|
73909
|
+
|
|
73910
|
+
if (url) {
|
|
73911
|
+
if (url.indexOf('#') === 0) {
|
|
73912
|
+
if (url.indexOf('#section') === 0) {
|
|
73913
|
+
let num = url.replace('#section', '');
|
|
73914
|
+
|
|
73915
|
+
if (!isNaN(parseInt(num))) {
|
|
73916
|
+
let section = document.querySelector(`.is-section:nth-child(${num})`);
|
|
73917
|
+
|
|
73918
|
+
if (section) {
|
|
73919
|
+
this.scrollTo(section);
|
|
73920
|
+
e.preventDefault();
|
|
73921
|
+
}
|
|
73922
|
+
}
|
|
73923
|
+
} else {
|
|
73924
|
+
let bookmark = document.querySelector(url);
|
|
73925
|
+
|
|
73926
|
+
if (bookmark) {
|
|
73927
|
+
this.scrollTo(bookmark);
|
|
73928
|
+
e.preventDefault();
|
|
73929
|
+
}
|
|
73930
|
+
}
|
|
73931
|
+
}
|
|
73932
|
+
}
|
|
73933
|
+
}
|
|
73934
|
+
}
|
|
72901
73935
|
}
|
|
72902
73936
|
});
|
|
72903
73937
|
} // editorSetup
|
|
@@ -73056,13 +74090,13 @@ class ContentBox {
|
|
|
73056
74090
|
}, 300);
|
|
73057
74091
|
}
|
|
73058
74092
|
|
|
73059
|
-
scrollTo(element) {
|
|
74093
|
+
scrollTo(element, delay = 0) {
|
|
73060
74094
|
setTimeout(() => {
|
|
73061
74095
|
element.scrollIntoView({
|
|
73062
74096
|
behavior: 'smooth',
|
|
73063
74097
|
block: 'center'
|
|
73064
74098
|
});
|
|
73065
|
-
},
|
|
74099
|
+
}, delay);
|
|
73066
74100
|
}
|
|
73067
74101
|
|
|
73068
74102
|
sectionSetup(section) {
|
|
@@ -73281,7 +74315,7 @@ class ContentBox {
|
|
|
73281
74315
|
scrollButton.forEach(btn => {
|
|
73282
74316
|
btn.addEventListener('click', e => {
|
|
73283
74317
|
let section = btn.parentNode.parentNode;
|
|
73284
|
-
this.scrollTo(section.nextElementSibling);
|
|
74318
|
+
this.scrollTo(section.nextElementSibling, 600);
|
|
73285
74319
|
e.preventDefault();
|
|
73286
74320
|
e.stopImmediatePropagation();
|
|
73287
74321
|
return false;
|
|
@@ -73294,7 +74328,7 @@ class ContentBox {
|
|
|
73294
74328
|
dom.removeClass(document.querySelectorAll('.is-sidebar-content'), 'active');
|
|
73295
74329
|
document.body.style.overflowY = '';
|
|
73296
74330
|
this.addSpace();
|
|
73297
|
-
this.scrollTo(newSection);
|
|
74331
|
+
this.scrollTo(newSection, 600);
|
|
73298
74332
|
} // addIdea
|
|
73299
74333
|
|
|
73300
74334
|
|