Inspect the active instance and the current interface
The old interface example is still valid, but this build now reports bs5. This page also shows how
getInstance and destroy fit together with create.
This editor can be destroyed and recreated without leaving the page.
Instance output
Ready.
Example configuration - Instance Lifecycle
const editor = summernote.create('#instance-lifecycle-editor', {
height: 260,
});
const instance = summernote.getInstance('#instance-lifecycle-editor');
const currentInterface = summernote.interface;
summernote.destroy('#instance-lifecycle-editor');