view src/examples/min.html @ 12:933a459aa182

allow selector for textarea
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 07 Aug 2022 13:58:27 -0600
parents 9159df67520a
children 0cb206904499
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() {
				sceditor.create('textarea', {
					format: 'bbcode',
				});
			}
		</script>
	</head>
	<body>
		<textarea></textarea>
	</body>
	<script>init();</script>
</html>