Skip to content

Releases: JiHong88/suneditor

v2.13.1

22 Apr 15:01
Compare
Choose a tag to compare

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

17 Apr 04:42
Compare
Choose a tag to compare

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

22 Mar 12:05
Compare
Choose a tag to compare

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.

color_text_input

  • 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

21 Mar 11:03
Compare
Choose a tag to compare

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

19 Mar 11:40
Compare
Choose a tag to compare

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

14 Mar 03:49
Compare
Choose a tag to compare

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

06 Feb 12:27
Compare
Choose a tag to compare

Bugfix

  • Fixed a bug - paste from Word and Excel #71(@Q-bick)
  • Fixed a bug that the focus was not updated in the editor when submenu and dialog menus were used.

v2.9.5

14 Jan 01:22
Compare
Choose a tag to compare

Bugfix

  • Fixed a bug where the script does not work when the font size style is not a number #79(@mostafacs)
  • Change style: overflow-x -> hidden

Maintenance

  • Dependence package update

v2.9.4

14 Dec 09:05
Compare
Choose a tag to compare

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

12 Dec 07:06
Compare
Choose a tag to compare

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