We have a redactor editor which we populate from the database but once we have submitted the data back we need to clear the textarea.
We have tried various combinations but are unable to clear it out.
jQuery("#redactor").redactor('set', '');
AND
jQuery("#redactor").val("");
.redactor('selectionAll')then.redactor('selectionRemove'). Other options might beinsertTextorinsertHtml. - Jared FarrishjQuery("#redactor").redactor('set', '');is actually working on the redactor demo page. imperavi.com/redactor Clears the visual view and the textarea too. - Oliver