4.1.0 (2022-05-26)
4.0.0 (2022-04-12)
- Due to introducing the lock mechanism for the
Editor#isReadOnly
property, the inspector uses the new way of enabling the read-only mode in the editor. It requires an instance of CKEditor 5 in version 34 or higher. See ckeditor/ckeditor5#10496.
- Aligned the CKEditor 5 Inspector API to use the new lock mechanism when enabling/disabling the read-only mode. (commit)
3.1.1 (2022-03-29)
3.1.0 (2022-02-17)
3.0.0 (2022-02-03)
- Upgraded the minimal versions of Node.js to
14.0.0
due to the end of LTS.
- Implemented the mini inspector (
MiniCKEditorInspector
) in a separate build. Closes #143. (commit) - The "Log editor data" button should copy to the clipboard if clicked with the Shift key. Closes #136. (commit)
- Updated the required version of Node.js to 14. See ckeditor/ckeditor5#10972. (commit)
2.3.0 (2021-11-30)
- Introduced editor quick actions toolbar (see #38) to log editor data, toggle editor read-only, and destroy editor. Closes #121, #104. (commit)
- Added the
margin-bottom
style to the<body>
element when the inspector is collapsed to avoid covering the footer. Closes #126. (commit)
2.2.2 (2021-01-20)
-
Added the
data-cke-inspector=true
attribute to all<style>
tags injected by the application. Closes #106. (commit)Also:
- Reduced the number of
<style>
tags injected by the application. - Used the
.ck-inspector
namespace for CSS custom properties used by the inspector to clean up the developer tools and improve DX.
- Reduced the number of
2.2.1 (2020-11-04)
- Node attributes should be sorted in trees and node inspectors (both for the model and the view). Closes #97. (commit)
- The inspector should not throw when attributes are objects with circular references. Closes #98. (commit)
2.2.0 (2020-08-05)
- Brought support for the editor view
RawElement
. Closes #89. (commit) - Made it possible to toggle the inspector using the Alt+F12 keyboard shortcut. Closes #87. (commit)
- Addressed the "react-fast-compare circular refs" warning by switching to Lodash
isEqual()
. Closes #86. (commit)
2.1.0 (2020-06-01)
- Checkboxes in the inspector UI should be centered vertically. Closes #84. (65b8aca)
- Improved performance of the inspector by avoiding unnecessary React rendering. Closes #79. (44e7850)
- User-agent styles of HTML select elements should not be overridden by the inspector. Closes #65. (396af59)
2.0.0 (2020-03-26)
- Implemented markers preview in the "Model" tree. Implemented the "Markers" tab. Implemented support for multiple model/view ranges both in the trees and "Selection" tabs. Improved selection rendering in trees for smooth UX. Closes #12. Closes #7. Closes #68. Closes #73. (0d58db6)
1.5.0 (2019-12-05)
1.4.0 (2019-09-23)
-
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!
-
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).
1.3.0 (2019-03-20)
- Added a comment to each UIElement in the view tree to make it more distinguishable. Closes #13. (aef8995)
- Added Custom Properties lists to the editor view node inspector. Closes #16. (b44708f)
- Long values should be truncated in the
Tree
andPropertyList
to avoid performance issues. Closes #31. (16fa0e4) - The inspector should not scale beyond the height of the visible viewport. Closes #34. (86c287b)
1.2.0 (2019-03-11)
1.1.0 (2019-03-06)
- Allowed using the editor instance as the only argument of
CKEditorInspector.attach()
. Closes #11. (63ff58e)
- 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)
- Code refactoring. Minor improvements in rendering attributes and properties. (ad65184)
1.0.0 (2019-02-28)
Initial release.