@bender-ui: collapsed
- Click "Init editor".
- Expected:
- Inline editor should be created.
- There should be two toolbars:
- one with "Bold" and "Italic" buttons,
- second with "Italic" and "Bold" buttons.
- Click "Destroy editor".
- Expected:
- Editor should be destroyed (the element should not be editable).
- The element should contain its data (updated).
- The 'ck-body region' should be removed.
Notes:
- You can play with:
editable.isEditable,
boldModel.isEnabled and italicModel.isEnabled.
- Changes to
editable.isFocused/isEditable should be logged to the console.
- Buttons' states should be synchronised between toolbars (they share models).