Remove an existing editor from the page, restoring the original element container. Content modified using is preserved within the restored container.


// Replace the element with id 'replaceMe' 
var editor = textboxio.replace( '#replaceMe' );
// Remove the editor
var element = editor.restore();


elementHTML element

The element that was previously replaced by Returned element contents are updated with changes made during an editing session.