Releases: ckeditor/ckeditor5-inspector
v2.0.0
v1.5.0
v1.4.0
Features
-
Allowed attaching the inspector collapsed using a configuration passed to
CKEditorInspector#attach()
. Implemented theCKEditorInspector#destroy()
method. UnifiedCKEditorInspector#attach()
arguments syntax and allowed attaching to multiple editor instances at a time. Closes #44. Closes #42. Closes #48. (69ad014) -
Implemented the
CKEditorInspector#attachToAll()
method. Closes #56. (8a3c7ea) -
Introduced the
.ck-inspector-body-collapsed
class on<body>
(next to.ck-inspector-body-expanded
) to clearly distinguish expanded and collapsed inspector states. (664b9cd)Thanks to @skurfuerst!
Bug fixes
BREAKING CHANGES
-
The
CKEditorInspector.attach( 'editor-name', editor );
syntax was deprecated and replaced by an object literalCKEditorInspector.attach( { 'editor-name': editor, ... } );
.Note: The old syntax works (backward compatibility) but it produces a warning in the console and will be removed in the future. We highly recommend using the new
attach()
method syntax (learn more).
v1.3.0
v1.2.0
v1.1.0
Features
- Allowed using the editor instance as the only argument of
CKEditorInspector.attach()
. Closes #11. (63ff58e)
Bug fixes
- Command value should be displayed properly in the list when defined as an object. Related to #9. (3d36cfa)
- The command inspector should not crash when command's value is
undefined
. (10821a3) - The inspector should not crash when an attribute value is an object. Closes #10. (681f2e2)
- The view tree inspector should display all attributes of all elements. Closes #9. (705f3c4)
- View EmptyElement should not render with a closing tag. Added support for missing Empty and UI elements in the inspector and the tree. Closes #5. (e648ab4)
Other changes
- Code refactoring. Minor improvements in rendering attributes and properties. (ad65184)