New
- Read-only mode 🥳 #837New
- 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 initializationImprovements
- TheinitialBlock
property of Editor config is deprecated. Use thedefaultBlock
instead. #993Improvements
- BlockAPIcall()
method now returns the result of calling method, thus allowing it to expose arbitrary data as needed #1205Improvements
- Unuseful log about missed i18n section has been removed #1269Improvements
- Allowed to setfalse
astoolbox
config in order to hide Toolbox button #1221Fix
— Fix problem with types usage #1183Fix
- Fixed issue with Spam clicking the "Click to tune" button duplicates the icons on FireFox. #1273Fix
- Fixed issue witheditor.blocks.delete(index)
method which throws an error when Editor.js is not focused, even after providing a valid index. #1182Fix
- Fixed the issue of toolbar not disappearing on entering input in Chinese, Hindi and some other languages. #1196Fix
- 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. #1047Fix
- Fixed issue with enter key in inputs and textareas #920Fix
- blocks.getBlockByIndex() API method now returns void for indexes out of range #1270Fix
- 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 #843Fix
- Fixed theonChange
callback issue. This method didn't be called after the callback throws an exception #1339Fix
- 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