view 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
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>