Releases: codex-team/editor.js
Releases · codex-team/editor.js
v2.26.0-rc.6
New
— UI — Meet the new icons from CodeX Icons pack 🛍 💝New
— BlocksAPI — theblocks.insert()
method now also have the optionalid
param. 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
v2.26.0-rc.1
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
— Workaround for the HTMLJanitor bug with Tables (guardian/html-janitor#3) addedImprovement
— Tools API —pasteConfig().tags
now support sanitizing configuration. It allows you to leave some explicitly specified attributes for pasted content.
v2.26.0-rc.0
New
— UI — Block Tunes became vertical just like the Toolbox 🤩New
— Block Tunes API — Nowrender()
method of a Block Tune can return config with just icon, label and callback instead of custom HTML. This improvement is a key to the new straightforward way of configuring tune's appearance in Block Tunes menu.New
— Tools API — As well asrender()
inTunes API
, Tool'srenderSettings()
now also supports new configuration format.Deprecated
— Styles API — CSS classes.cdx-settings-button
and.cdx-settings-button--active
are not recommended to use. Consider configuring your block settings with new JSON API instead.Fix
— Wrong element not highlighted anymore when popover opened.Fix
— When Tunes Menu open keydown events can not be handled inside plugins.
v2.25.0
New
— Tools API — Introducing new feature — toolbox now can have multiple entries for one tool! Due to that API changes: tool'stoolbox
getter now can return either a single config item or an array of config itemsNew
— Blocks API —composeBlockData()
method was added.
🤘 Read the overview of the Multiple Toolbox items feature: https://codex.so/editorjs-toolbox
v2.24.3
v2.24.2
Fix
— Scrolling issue when opening toolbox on mobile fixedFix
— Typo in toolbox empty placeholder fixedFix
— The issue with scroll jumping on block hovering have fixed 2036Improvement
— Dev Example Page - Add popup example pageImprovement
— UI - The Toolbox will restore the internal scroll on every opening
v2.24.1
v2.24.0
New
— UI — The Toolbox became vertical 🥳Improvement
— UI — the Plus button will always be shown (previously, it appears only for empty blocks)Improvement
— Dev Example Page - Server added to allow opening example page on other devices in network.Fix
—UI
— the Toolbar won't move on hover at mobile viewports. Resolves #1972Fix
—OnChange
event invocation after block insertion. #1997Fix
—ReadOnly
— thereadonly.isEnabled
API getter now works correctly afterreadonly.toggle()
calling. Resolves #1822Fix
—Paste
— the inline HTML tags now will be preserved on pasting. #1686