@bender-ui: collapsed
- Click "Init editor".
- Expected:
- Framed editor should be created.
- It should be rectangular (400x400).
- Original element should disappear.
- There should be a toolbar with "Bold" and "Italic" buttons.
- Click "Destroy editor".
- Expected:
- Editor should be destroyed.
- Original element should be visible.
- The element should contain its data (updated).
- The 'ck-body region' should be removed.
Notes:
- You can play with:
editor.editable.isEditable,
editor.ui.width/height.
boldModel.isEnabled and italicModel.isEnabled.
- Changes to
editable.isFocused/isEditable should be logged to the console.
- Clicks on the buttons should be logged to the console.