Skip to content

Version 5.6

Updating from version 5.5

  • install new version using npm npm install --registry https://npm.xeditor.com:4873

API

The API can be found here: Xeditor 5.6

Important changes in this version

  • Introduces new plugin listinsertelements which offers to insert allowed elements before/into/after the currently selected element. In addition, it can be navigated through the element tree from selected element until root element in order to change the reference element (the element chosen element will be inserted before/into/after)

Changelog

v5.6.0

Changes

  • Changed styling of comment for collapse/expand
  • During element conversion target elements are not longer validated as they are created wich offers more fexibility to change the structure e.g. after main conversion inside afterConvertFn
  • Added method createGUID to create a unique guid and handle it in marker data
  • Added new component Ext.ux.xeditor.NavigationBreadcrumb used by listinsertelements plugin
  • Added additional role configurations showInInsertElementPanelNavigation and showInInsertElementPanel used by listinsertelements plugin
  • Added new Methods findPreviousDirectSibling and findNextDirectSibling for finding direct sibling of element
  • Added new Methods findPreviousDirectSiblingByTypes and findNextDirectSiblingByTypes for finding direct sibling of element of given types

Bugfixes

  • Fixed issue that caused error when pressing delete key at the end of the last element
  • Fixed incorrect change tracking in Document.wrapSelection for some special cases
  • Added line-height to comment/reply textarea for fixing line hides after pressing return in FF
  • Fixed issue that caused error when pressing delete key at the beginning of the first element
  • Fixed issue can't type after inserting element using breadcrumb / can't type after change element in Edge
  • Fixed issue that caused error when typing after media elements were inserted