annotate src/examples/min.html @ 11:73d62b7a0713

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 07 Aug 2022 01:09:17 -0600
parents 9159df67520a
children 933a459aa182
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 <!doctype html>
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2 <html>
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3 <head>
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4 <meta name="viewport" content="width=device-width, initial-scale=1">
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5
9
9159df67520a remove "icons" option
Franklin Schmidt <fschmidt@gmail.com>
parents: 7
diff changeset
6 <style>
9159df67520a remove "icons" option
Franklin Schmidt <fschmidt@gmail.com>
parents: 7
diff changeset
7 @import "/themes/default.css";
9159df67520a remove "icons" option
Franklin Schmidt <fschmidt@gmail.com>
parents: 7
diff changeset
8 </style>
7
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10 <script src="/sceditor.js"></script>
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 <script src="/icons/monocons.js"></script>
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 <script src="/formats/bbcode.js"></script>
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
13 <script>
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
14 function init() {
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
15 let textarea = document.querySelector('textarea');
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
16 sceditor.create(textarea, {
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
17 format: 'bbcode',
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
18 });
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
19 }
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
20 </script>
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
21 </head>
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
22 <body>
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
23 <textarea></textarea>
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
24 </body>
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
25 <script>init();</script>
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
26 </html>