Mercurial Hosting > sceditor
view 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 |
line wrap: on
line source
<!doctype html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> @import "/themes/default.css"; </style> <script src="/sceditor.js"></script> <script src="/icons/monocons.js"></script> <script src="/formats/bbcode.js"></script> <script> function init() { let textarea = document.querySelector('textarea'); sceditor.create(textarea, { format: 'bbcode', }); } </script> </head> <body> <textarea></textarea> </body> <script>init();</script> </html>