Mercurial Hosting > freedit
comparison src/test/sceditor.html @ 37:7076fd22fda5
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 04 Aug 2022 17:21:56 -0600 |
parents | b54e9e2212b7 |
children |
comparison
equal
deleted
inserted
replaced
36:b54e9e2212b7 | 37:7076fd22fda5 |
---|---|
5 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sceditor@3/minified/themes/default.min.css" /> | 5 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sceditor@3/minified/themes/default.min.css" /> |
6 <style> | 6 <style> |
7 xtextarea { | 7 xtextarea { |
8 width: 100%; | 8 width: 100%; |
9 height: 200px; | 9 height: 200px; |
10 } | |
11 div.sceditor-container input[type="text"] { | |
12 width: 300px; | |
10 } | 13 } |
11 </style> | 14 </style> |
12 <script src="https://cdn.jsdelivr.net/npm/sceditor@3/minified/sceditor.min.js"></script> | 15 <script src="https://cdn.jsdelivr.net/npm/sceditor@3/minified/sceditor.min.js"></script> |
13 <script src="https://cdn.jsdelivr.net/npm/sceditor@3/minified/formats/bbcode.min.js"></script> | 16 <script src="https://cdn.jsdelivr.net/npm/sceditor@3/minified/formats/bbcode.min.js"></script> |
14 <script src="https://cdn.jsdelivr.net/npm/sceditor@3/minified/icons/monocons.min.js"></script> | 17 <script src="https://cdn.jsdelivr.net/npm/sceditor@3/minified/icons/monocons.min.js"></script> |
22 style: 'https://cdn.jsdelivr.net/npm/sceditor@3/minified/themes/content/default.min.css', | 25 style: 'https://cdn.jsdelivr.net/npm/sceditor@3/minified/themes/content/default.min.css', |
23 format: 'bbcode', | 26 format: 'bbcode', |
24 toolbar: 'source|link,image,youtube|code,bold,italic,underline,strike,superscript,size,color|quote,orderedlist,bulletlist', | 27 toolbar: 'source|link,image,youtube|code,bold,italic,underline,strike,superscript,size,color|quote,orderedlist,bulletlist', |
25 autoExpand: true, | 28 autoExpand: true, |
26 resizeMaxHeight: -1, | 29 resizeMaxHeight: -1, |
27 resizeEnabled: false, | 30 //resizeEnabled: false, |
28 width: '100%', | 31 width: '100%', |
29 height: 100, | 32 height: 100, |
30 emoticonsEnabled: false, | 33 emoticonsEnabled: false, |
31 icons: 'material', | 34 icons: 'material', |
32 }); | 35 }); |