Mercurial Hosting > sceditor
comparison src/examples/min.html @ 9:9159df67520a
remove "icons" option
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 07 Aug 2022 00:19:52 -0600 |
parents | df1e18048d97 |
children | 933a459aa182 |
comparison
equal
deleted
inserted
replaced
8:292d40f68d50 | 9:9159df67520a |
---|---|
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta name="viewport" content="width=device-width, initial-scale=1"> | 4 <meta name="viewport" content="width=device-width, initial-scale=1"> |
5 | 5 |
6 <link rel="stylesheet" href="/themes/default.css" /> | 6 <style> |
7 @import "/themes/default.css"; | |
8 </style> | |
7 | 9 |
8 <script src="/sceditor.js"></script> | 10 <script src="/sceditor.js"></script> |
9 <script src="/icons/monocons.js"></script> | 11 <script src="/icons/monocons.js"></script> |
10 <script src="/formats/bbcode.js"></script> | 12 <script src="/formats/bbcode.js"></script> |
11 <script> | 13 <script> |
12 function init() { | 14 function init() { |
13 let textarea = document.querySelector('textarea'); | 15 let textarea = document.querySelector('textarea'); |
14 sceditor.create(textarea, { | 16 sceditor.create(textarea, { |
15 format: 'bbcode', | 17 format: 'bbcode', |
16 icons: 'monocons', | |
17 }); | 18 }); |
18 } | 19 } |
19 </script> | 20 </script> |
20 </head> | 21 </head> |
21 <body> | 22 <body> |