Skip to content

Releases: JiHong88/suneditor

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

v2.8.5

23 Nov 19:22
Compare
Choose a tag to compare

Enhancement

  • Remove format - All works well on current supported browsers.
  • The node configuration that is created when the node change function is executed has been improved.

Bugfix

  • Fixed a bug not changed node after selecting all range in Firefox, Edge, IE.
  • Fixed a bug that prevented pasting under certain circumstances.
  • Fixed a bug that caused the "BR" tag to disappear or not work properly when changing nodes, including the "BR" tag.
  • Fixed a bug that text formatting did not work in image captions.

Maintenance

  • Modified name core.wrapRangeToTag -> core.nodeChange.
  • Modified removeEmptyNode method of util object.
  • Modified getSelectedFormatElements method of core object.
  • Added getContents method to core object.
  • Added createElement, createTextNode method to util object.

v2.8.0

10 Nov 18:05
Compare
Choose a tag to compare

Enhancement

  • Updated clean paste of "Word", etc.
  • Added notice module
  • Added user event function
  • Added options: "imageResizing", "videoResizing"
  • Added user function: "getImagesInfo"

Bugfix

  • Fixed a bug when edit pasted image.
  • Fixed a bug the image, video plugin.
  • Fixed a bug the resizing module

Maintenance

  • Modified resizing module: When it is an image, it returns to 'auto' size when clicking revert button.
  • Modified options: imageSize -> imageWidth, popupDisplay - full, local
  • Modify image server upload response value.

v2.7.1

05 Nov 19:56
Compare
Choose a tag to compare

Enhancement

  • Added rotate, revert button to resizing module.
  • Added caption select to video dialog.
  • Modified default width, height when "textarea"'s display style "none". (‘100%’, ‘auto’)
  • Modified popupDisplay option. (‘full’, ‘local’)
    Default value: ‘full’
  • Modified tab key action in editor. (behave similar to vscode)
  • Submenu does not turn off even if window is resized. (Works naturally on mobile)

Bugfix

  • Fixed a bug the code view mode of version 2.6.0 (div -> textarea)
  • Fixed a bugs the resizing module.
  • Fixed other bugs.

Maintenance

  • Updated language file.
  • Added “convertHTMLForCodeView” method to util object.
  • Modified method name : core.appendP -> appendFormatTag
  • Updated node change function.
  • Modified percent size function to image, video