Version 5.7
Updating from version 5.6
- install new version using npm
npm install --registry https://npm.xeditor.com:4873
API
The API can be found here: Xeditor 5.7
Important changes in this version
- Added notifications to Xeditor. Use them by calling
Ext.ux.xeditor.Notificator.show()
. A detailed description can be found in our API - Replaced error messages with notifications
- Adjusted styling of document and Xeditor interface, improving the contrast of the document
Changelog
v5.7.0
Changes
- Adjusted styling (darker background, box shadow for document)
- Introduced class
Ext.ux.xeditor.Database
which uses indexed db to be used instead of local storage - Added editor properties
localDatabaseName
,localDocumentKey
and functions for convinient use of Database class - Marked functions and properties using local storage as deprecated
- Added new classes
Ext.ux.xeditor.Notificator
,Ext.ux.xeditor.Notification
,Ext.ux.xeditor.NotificationHistory
andExt.ux.xeditor.Statusbar
- Added new notification handling
- Added styling for empty elements making it possible to select them
- Changed styling for loading indicator
Bugfixes
- Fixed bug inside
wrapSelection
where wrong track references were used wich caused changetracking to not work - Added parameter
insertAutoSpaces
to getPlainText (default: true) to be set to false during multi space prevention as this needs the real text content without any automatically added spaces - As save process uses indexed db now (if properies are set) local save cannot fail anymore due to storage size overflow
- Changed styling for loading indicator
- Added return property
cloneInformation
to methodSelectionManager.getElements()
- Fixed bug in wrap selection to properly fire tracking events if there are elements cloned/moved
- Fixed typo
edior
to propereditor
in events ofElement.remove()
andElement.removeDeep()
- Fixed issue causing chaning of list type (e.g. ordered to unordered) to be not tracked
- Added styling for IE when using inline format underline and superscript because it looked strange
- Changed absolute path of
default_user.svg
to relative path - Adjusted
Document.breakUntil
if selection is at the very beginning to add new (empty) elements before rather than adding all content to a new element after - Fixed issue that caused wrong element to be deleted when hitting backspace in empty elements on special circumstances