Editor.js v2.19.1 Release Notes
Release Date: 2020-12-08 // over 4 years ago-
- โ
Improvements
- The Cypress was integrated as the end-to-end testing framework Improvements
- Nativetypeof
replaced with custom utils methodsImprovements
- Bind shortcuts listeners on the editor wrapper instead of document (#1391)(#1391)Fix
- The problem with destroy() method #1380.- ๐
Fix
- add getter keyword toblock.mergeable
method #1415. Fix
โ Fix problem with entering to Editor.js by Tab key #1393Fix
- Sanitize pasted block data #1396.- 0๏ธโฃ
Fix
- Unnecessary block creation after arrow navigation at last non-default block#1414
- โ
Previous changes from v2.19.0
-
- ๐ฑ
New
- Read-only mode ๐ฅณ #837 New
- RTL mode added #670New
- Allows users to provide commoninlineToolbar
property which will be used for all tools whoseinlineToolbar
property is set totrue
. It can be overridden by the tool's owninlineToolbar
property. Also, inline tools will be ordered according to the order of the inline tools in array provided in theinlineToolbar
property. #1056New
- Tool'sreset
static method added to the API to clean up any data added by Tool on initialization- ๐
Improvements
- TheinitialBlock
property of Editor config is deprecated. Use thedefaultBlock
instead. #993 Improvements
- BlockAPIcall()
method now returns the result of calling method, thus allowing it to expose arbitrary data as needed #1205- ๐
Improvements
- Unuseful log about missed i18n section has been removed #1269 Improvements
- Allowed to setfalse
astoolbox
config in order to hide Toolbox button #1221Fix
โ Fix problem with types usage #1183- ๐
Fix
- Fixed issue with Spam clicking the "Click to tune" button duplicates the icons on FireFox. #1273 - ๐
Fix
- Fixed issue witheditor.blocks.delete(index)
method which throws an error when Editor.js is not focused, even after providing a valid index. #1182 - ๐
Fix
- Fixed the issue of toolbar not disappearing on entering input in Chinese, Hindi and some other languages. #1196 Fix
- Do not stop events propagation if not needed (essential for React synthetic events) #1051 #946Fix
- Tool'sdestroy
method is not invoked wheneditor.destroy()
is called. #1047- ๐
Fix
- Fixed issue with enter key in inputs and textareas #920 Fix
- blocks.getBlockByIndex() API method now returns void for indexes out of range #1270- ๐
Fix
- Fixed theTab
key behavior when the caret is not set inside contenteditable element, but the block is selected #1302. - ๐
Fix
- Fixed theonChange
callback issue. This method didn't be called for native inputs before some contentedtable element changed #843 - ๐
Fix
- Fixed theonChange
callback issue. This method didn't be called after the callback throws an exception #1339 Fix
- The internalshortcut
getter of Tools classes will work now.- ๐
Deprecated
โ The Inline Toolclear()
method is deprecated because the new instance of Inline Tools will be created on every showing of the Inline Toolbar
- ๐ฑ