We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
var content = $('selector').elrte('val');
var html_code = '<p>This is example <strong>HTML</strong> code.</p>'; $('selector').elrte('val', html_code);
When you submit from with own JS function and want to force editor to put current contents to the hidden textarea:
$('selector').elrte('updateSource');
Will completely remove editor from document and return it to previous state with updated content
$('selector').elrte('destroy');