Remove an existing Textbox.io editor from the page, restoring the original element container. Content modified using Textbox.io is preserved within the restored container.
// Replace the element with id 'replaceMe' var editor = textboxio.replace( '#replaceMe' ); // Remove the Textbox.io editor var element = editor.restore();
The element that was previously replaced by Textbox.io. Returned element contents are updated with changes made during an editing session.