- Click "Init editor".
- Expected:
- The containers should fill up with the respective editor UI.
- There should be a toolbar with "Heading", "Bold", "Italic", "Undo" and "Redo" buttons.
- Click "Destroy editor".
- Expected:
- Editor should be destroyed.
- The editor UI should remain in the containers.
- The
.ck-body region should be removed.
Notes:
- You can play with:
- Changes to
editable.isFocused should be logged to the console.
- Features should work.