Like this project? Please support my Mecha CMS project too. Thank you!
A text selection range API written in pure JavaScript, for modern browsers.
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="utf-8">
<title>Text Editor</title>
<link href="text-editor/ui.min.css" rel="stylesheet">
<link href="text-editor/ui.i.min.css" rel="stylesheet">
</head>
<body>
<p><textarea id="editor"></textarea></p>
<script src="text-editor.min.js"></script>
<script src="text-editor/ui.min.js"></script>
<script src="text-editor/ui/h-t-m-l.min.js"></script>
<script>
var editor = TE.ui.HTML(document.querySelector('#editor'));
</script>
</body>
</html>
Modules:
These are plugins for user interface module:
TE.ui.HTML()
pluginTE.ui.HTML()
pluginTE.ui.HTML()
pluginMiscellaneous:
This text editor project was initially cultivated to support the Mecha CMS project that is currently being inactive for a while. But now, this project becomes an individual project; makes it possible to be extended into any other projects. Your small donation will keep this project going and allow me to do any further development.