<!-- api buttons -->
<button onclick="stopEditor();">Stop</button>
<button onclick="startEditor();">Start</button>
<!-- element -->
<textarea id="entry"></textarea>
<!-- call -->
<script>
var app = RedactorX('#entry');
function stopEditor() {
app.stop();
}
function startEditor() {
app.start();
}
</script>