@bender-ui: collapsed
- Click "Init editor".
- Expected:
- Boxed editor with two editables should be created.
- Original elements should disappear.
- There should be a toolbar with "Bold" and "Italic" buttons.
- Click "Destroy editor".
- Expected:
- Editor should be destroyed.
- Original elements should be visible.
- The elements should contain their data (updated).
- The 'ck-body region' should be removed.
Notes:
- You can play with:
editables.get( 'editable1/2' ).isEditable,
boldModel.isEnabled and italicModel.isEnabled.
- Changes to
editable.isFocused/isEditable should be logged to the console.
- Changes to
editables.current should be logged to the console.
- Clicks on the buttons should be logged to the console.