comparison src/examples/modified.html @ 9:9159df67520a

remove "icons" option
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 07 Aug 2022 00:19:52 -0600
parents df1e18048d97
children 2606bfb75529
comparison
equal deleted inserted replaced
8:292d40f68d50 9:9159df67520a
7 <title>SCEditor Demo</title> 7 <title>SCEditor Demo</title>
8 8
9 <link rel="stylesheet" href="/themes/default.css" id="theme-style" /> 9 <link rel="stylesheet" href="/themes/default.css" id="theme-style" />
10 10
11 <script src="/sceditor.js"></script> 11 <script src="/sceditor.js"></script>
12 <script src="/icons/monocons.js"></script>
13 <script src="/formats/bbcode.js"></script> 12 <script src="/formats/bbcode.js"></script>
14 13
15 <style> 14 <style>
16 html { 15 html {
17 font-family: Arial, Helvetica, sans-serif; 16 font-family: Arial, Helvetica, sans-serif;
72 71
73 <script> 72 <script>
74 var textarea = document.getElementById('example'); 73 var textarea = document.getElementById('example');
75 sceditor.create(textarea, { 74 sceditor.create(textarea, {
76 format: 'bbcode', 75 format: 'bbcode',
77 icons: 'monocons',
78 style: '/themes/content/default.css',
79 }); 76 });
80 77
81 78
82 var themeInput = document.getElementById('theme'); 79 var themeInput = document.getElementById('theme');
83 themeInput.onchange = function() { 80 themeInput.onchange = function() {