Releases: codex-team/editor.js
Releases Β· codex-team/editor.js
v2.27.0-rc.1
Improvementβ TheonChangecallback won't be triggered only if all mutations contain nodes with thedata-mutation-freeattributes.
v2.27.0-rc.0
Refactoringβ Popover class refactored.Improvementβ Toolbox β Number ofclose()method calls optimized.
v2.26.5
Fixβ Types β Remove unnecessary import that creates a dependency on thecypress.
v2.26.4
Improvementβ Menu Config β Propertylabelrenamed totitle.
v2.26.3
v2.26.2
v2.26.1
v2.26.0
Newβ UI β Block Tunes became vertical just like the Toolbox π€©Newβ Block Tunes API β Now therender()method of a Block Tune can return the Menu Config with just icon, label, and callback instead of custom HTML. This improvement is key to the new straightforward way of configuring the tune's appearance in the Block Tunes menu.Newβ Tools API β As well asrender()inTunes API, Tool'srenderSettings()now also supports new configuration format.Newβ UI β Meet the new icons from CodeX Icons pack π πNewβ BlocksAPI β theblocks.insert()method now also have the optionalidparam. If passed, this id will be used instead of the generated one.Deprecatedβ Styles API β CSS classes.cdx-settings-buttonand.cdx-settings-button--activeare not recommended to use. Consider configuring your block settings with a new JSON API instead.Improvementβ Tools API βpasteConfig().tagsnow support sanitizing configuration. It allows you to leave some explicitly specified attributes for pasted content.Improvementβ CodeStyle β CodeX ESLint Config has bee updated. All ESLint/Spelling issues resolvedImprovementβ ToolsAPI β Theiconproperty of thetoolboxgetter became optional.Fixβ The wrong element is not highlighted anymore when the popover opened.Fixβ When Tunes Menu open keydown events can not be handled inside plugins.Fixβ If a Tool specifies some tags to substitute on paste, all attributes of that tags will be removed before passing them to the tool. Possible XSS vulnerability fixed.Fixβ Pasting from Microsoft Word to Chrome (Mac OS) fixed. Now if there are no image-tools connected, the regular text content will be pasted.Fixβ Workaround for the HTMLJanitor bug with Tables (guardian/html-janitor#3) addedFixβ Toolbox shortcuts appearance and execution fixed #2112Fixβ Inline Tools click handling on mobile devices improved
π Read about the new Menu Config feature for defining Block Tunes menu appearance:
https://codex.so/editorjs-menu-config
v2.26.0-rc.7
Fixβ Block splitting with selected text fragment now works properly: remove selected fragment and split blocks
v2.26.0-rc.6
Newβ UI β Meet the new icons from CodeX Icons pack π πNewβ BlocksAPI β theblocks.insert()method now also have the optionalidparam. If passed, this id will be used instead of the generated one.Fixβ Pasting from Microsoft Word to Chrome (Mac OS) fixed. Now if there are no image-tools connected, regular text content will be pasted.Improvementβ CodeStyle β CodeX ESLint Config has bee updated. All ESLint/Spelling issues resolved

