Richtext Editor

This is just a simple editor with filters. The HTML tags is filtered in the paste action.


1

Examples

Mini text editor with filters

Data to be uploaded:

<html>
<script src="https://bossanova.uk/jsuites/v2/jsuites.js"></script>
<link rel="stylesheet" href="https://bossanova.uk/jsuites/v2/jsuites.css" type="text/css" />

<div id="editor1"></div>

<p><input type='button' value='Get data' onclick='alert(editor.getData())'></p>

<script>
var editor = jSuites.editor(document.getElementById('editor1'), {
    allowToolbar:true,
    value:'<b>This is a basic example...</b>'
});

</script>
</html>


1

Methods

getData();Get editor HTML content
setData();Set editor HTML content