All Versions
Latest Version
Avg Release Cycle
177 days
Latest Release
1023 days ago

Changelog History

  • v2.19.1 Changes

    December 08, 2020
    • โœ… Improvements - The Cypress was integrated as the end-to-end testing framework
    • Improvements - Native typeofreplaced with custom utils methods
    • Improvements - Bind shortcuts listeners on the editor wrapper instead of document (#1391)(#1391)
    • Fix - The problem with destroy() method #1380.
    • ๐Ÿ”€ Fix - add getter keyword to block.mergeable method #1415.
    • Fix โ€” Fix problem with entering to Editor.js by Tab key #1393
    • Fix - Sanitize pasted block data #1396.
    • 0๏ธโƒฃ Fix - Unnecessary block creation after arrow navigation at last non-default block#1414
  • v2.19.0 Changes

    October 14, 2020
    • ๐Ÿฑ New - Read-only mode ๐Ÿฅณ #837
    • New - RTL mode added #670
    • New - Allows users to provide common inlineToolbar property which will be used for all tools whose inlineToolbar property is set to true. It can be overridden by the tool's own inlineToolbar property. Also, inline tools will be ordered according to the order of the inline tools in array provided in the inlineToolbar property. #1056
    • New - Tool's reset static method added to the API to clean up any data added by Tool on initialization
    • ๐Ÿ—„ Improvements - The initialBlock property of Editor config is deprecated. Use the defaultBlock instead. #993
    • Improvements - BlockAPI call() 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 set false as toolbox config in order to hide Toolbox button #1221
    • Fix โ€” 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 with editor.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 #946
    • Fix - Tool's destroy method is not invoked when editor.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 the Tab key behavior when the caret is not set inside contenteditable element, but the block is selected #1302.
    • ๐Ÿ›  Fix - Fixed the onChange callback issue. This method didn't be called for native inputs before some contentedtable element changed #843
    • ๐Ÿ›  Fix - Fixed the onChange callback issue. This method didn't be called after the callback throws an exception #1339
    • Fix - The internal shortcut getter of Tools classes will work now.
    • ๐Ÿ—„ Deprecated โ€” The Inline Tool clear() method is deprecated because the new instance of Inline Tools will be created on every showing of the Inline Toolbar
  • v2.18.0 Changes

    June 03, 2020
    • New I18n API โ€” Ability to provide internalization for Editor.js core and tools. #751
    • New โ€” Block API that allows you to access certain Block properties and methods
    • ๐Ÿ‘• Improvements - TSLint (deprecated) replaced with ESLint, old config changed to CodeX ESLint Config.
    • ๐Ÿ’… Improvements - Fix many code-style issues, add missed annotations.
    • ๐Ÿ‘• Improvements - Adjusted GitHub action for ESLint.
    • โš  Improvements - Blocks API: if blocks.delete method is called, but no Block is selected, show warning instead of throwing an error #1102
    • Improvements - Blocks API: allow deletion of blocks by specifying block index via blocks.delete(index).
    • Improvements - UX: Navigate next Block from the last non-initial one creates new initial Block now #1103
    • ๐ŸŽ Improvements - Improve performance of DOM traversing at the isEmpty() method #1095
    • Improvements - CODE OF CONDUCT added
    • ๐Ÿ”Œ Improvements - Disabled useCapture flag for a block keydown handling. That will allow plugins to override keydown and stop event propagation, for example, to make own Tab behavior.
    • Improvements - All modules now might have destroy method called on Editor.js destroy
    • โช Improvements - Block settings can contain text inputs, focus will be restored after settings closed #1090
    • ๐Ÿ’… Fix - Editor's styles won't be appended to the <head> when another instance have already do that #1079
    • ๐Ÿ›  Fix - Fixed wrong toolbar icon centering in Firefox #1120
    • Fix - Toolbox: Tool's order in Toolbox now saved in accordance with tools object keys order #1073
    • Fix - Setting autofocus config property to true cause adding .ce-block--focused for the autofocused block #1073
    • Fix - Public getter shortcut now works for Inline Tools #1132
    • ๐Ÿšš Fix - CMD+A handler removed after Editor.js destroy #1133

    ๐Ÿ’ฅ Breaking changes

    • blocks.getBlockByIndex method now returns BlockAPI object. To access old value, use BlockAPI.holder property
  • v2.17 Changes

    March 16, 2020
    • Improvements - Editor's onchange callback now accepts an API as a parameter
    • ๐Ÿ›  Fix - Some mistakes are fixed in
    • ๐Ÿ›  Fix - Fixed multiple paste callback triggering in a case when several editors are instantiated #1011
    • ๐Ÿ›  Fix - Fixed inline toolbar flipper activation on closing conversion toolbar #995
    • Improvements - New window tab is opened by clicking on anchor with ctrl #1057
    • Fix - Fix block-tune buttons alignment in some CSS-resetors that forces box-sizing: border-box rule #1003
    • ๐Ÿ’… Improvements - New style of a Block Settings button. Focused block background removed.
    • ๐Ÿ‘ New โ€” Add in-house copy-paste support through application/x-editor-js mime-type
    • ๐Ÿšš Improvements - New Block lifecycle hook moved. Deprecated โ€” blocks.swap(fromIndex, toIndex) method is deprecated. Use blocks.move(toIndex, fromIndex) instead.
    • Fix โ€” Improve plain text paste #1012
    • Fix โ€” Fix multiline paste #1015
  • v2.16.1

    March 16, 2020
  • v2.15.1 Changes

    March 16, 2020
    • New โ€” New blocks.insert() API method #715.
    • New Conversion Toolbar. Ability to convert one block to another #704
    • New Cross-block selection โ€” Ability to select multiple blocks by mouse and with SHIFT+ARROWS #703
    • ๐Ÿ—„ Deprecated โ€” blocks.insertNewBlock() method is deprecated. Use blocks.insert() instead.
    • Improvements โ€” Inline Toolbar now works on mobile devices #706
    • ๐Ÿ‘ Improvements โ€” Toolbar looks better on mobile devices #706
    • Improvements โ€” Now pasteConfig can return false to disable paste handling on your Tool #801
    • Fix โ€” EditorConfig's onChange callback now fires when native inputs` content has been changed #794
    • Fix โ€” Resolve bug with deleting leading new lines #726
    • ๐Ÿ‘ Fix โ€” Fix inline link Tool to support different link types like mailto and tel #809
    • Fix โ€” Added typeof util method to check exact object type #805
    • ๐Ÿšš Fix โ€” Remove internal enableLineBreaks option from external Tool settings type description #825
    • ๐Ÿ”จ Refactoring โ€” Constants of tools settings separated by internal and external to correspond API
    • ๐Ÿ”จ Refactoring โ€” Created universal Flipper class that responses for navigation by keyboard inside of any Toolbars
    • 0๏ธโƒฃ Fix โ€” First CMD+A on block with now uses default behaviour. Fixed problem with second CMD+A after selection clearing #827
    • ๐Ÿ’… Improvements โ€” Style of inline selection and selected blocks improved
      ๐Ÿ›  Fix - Fixed problem when property 'observer' in modificationObserver is not defined
  • v2.15

    March 16, 2020
  • v1.5

    February 20, 2017
  • v1.4.0 Changes

    January 25, 2017

    ๐Ÿš€ CodeX Editor release