Releases: JiHong88/suneditor
Releases · JiHong88/suneditor
v2.13.1
Enhancement
- Updated undo and redo functions, which previously operated as "document.execCommand".
- Added getPositionIndex function to "util" object.
Bugfix
- Fixed a bug "insertHTML" of user function.
- Fixed a bug where format blocks, images and videos could not be deleted properly with backspace.
Maintenance
- Modified the color and border radius of the editor.
- Added "redo" and "undo" to buttons that are disabled in code view mode.
- Added History object to "core" object for undo, redo.
- Added onlyZeroWidthSpace function to "util" object.
v2.12.4
Enhancement
- The color picker module highlights the selected color.
Bugfix
- Fixed a bug where the icon was not visible when adding custom buttons. customPlugin
- Fixed a bug that did not resize the component's cover when putting the description after resizing the image and video.
Maintenance
- Added "util" attribute to use "util" object in "core" object. document
- Added style: line-height: 1.5
v2.12.3
Hotfix
- Print did not work since version 2.8.3.
- Fix a bug that the hex color input field of the colorPicker module did not work since version 2.9.4.
- Inline, Balloon mode did not work properly since version 2.12.1
Bugfix
- Fixed a bug where when using the dialog plugin after creating more than one editor, the results were applied to the editor that had the focus before.
Maintenance
- Deleted the selected cell style in the table
- Added z-index to controllers
v2.12.0
Enhancement
- The language file has been modified to be added to the global object SUNEDITOR_LANG when used in HTML.
- Added Chinese(zh_cn) translation.
v2.11.1
Enhancement
- Added onImageUploadError event function - called when the image is upload failed.
- Added argument imageInfo to onImageUpload function.
- Added youtubeQuery option - the query string of a YouTube embedded URL. #83(@realdigger)
- Added Japanese translation.
Bugfix
- Fixed a bug where the height value was fixed when adding the first image.
v2.10.2
Enhancement
- Added german translation. (Provided by @Gundolf68)
- Added save-button and 'callBackSave' option.
- Added src property to 'imagesInfo' (editor.getImagesInfo()).
Bugfix
- Fixed a bug where characters would disappear intermittently when changing nodes
- The German file was included in the language index
Maintenance
- Changed the "index" argument type of onImageUpload event function from String to Number
v2.9.6
v2.9.5
v2.9.4
Hotfix
- Scrolling did not work since version 2.8.4.
Enhancement
- Submenu Off - also works when clicking outside the editor.
Bugfix
- Fixed a bug where the getRange method sometimes did not get the correct range object.
- Bug fixes related to node change by modifying source related to Range object.
- Fixed a bug that changed only one line when changing styles by selecting multiple lines in Firefox.
- Fixed a bug the balloon editor were not created when multiple lines were selected in Firefox.
- Fixed a bug where image auto-sizing did not work correctly in IE.
Maintenance
- Node change function improvements
- Deleted method: setSelectionNode in core object.
- Deleted property: _variable.selectionNode, _variable.range in core object.
v2.9.2
Enhancement
- Added mode option (classic, balloon, inline) ...Referenced by CKEditor5
- Added toolbarWidth option (only applies in balloon, inline mode)
- Modified the 'nodeChange' function to check the style so that it does not split the node that already has the same style applied.
Bugfix
- Fixed a bug that caused strike shortcuts to working when the "shift" key was not pressed.
- Fixed a bug where selectionNode was not updated immediately when setRange function was executed.
- Fixed a bug that window events were working when the editor was not visible.
- Contents style bug fix
Maintenance
- Changed name context.user -> context.option