Skip to content

Releases: JiHong88/suneditor

v2.32.1

23 Jul 11:10
97c3606
Compare
Choose a tag to compare

Hotfix (v2.31.0)

  • A bug that the onload event was not worked has been fixed. #446

v2.32.0

19 Jul 14:01
f9b02f3
Compare
Choose a tag to compare

New feature

  • audioTagAttrs, videoTagAttrs, and videoIframeAttrs options has been added. #442
  • onCopy and onCut events has been added.

Enhancement

  • Copy(ctrl+c) and cut(ctrl+x) event of components such as images, video, and audio have been added. #441
    Does not suport in the IE browser.

v2.31.2

15 Jul 11:42
c291509
Compare
Choose a tag to compare

Enhancement

  • Added Vimeo as a target for video URLs. #437 (@scs-yoshimori)
  • Updated to be able to register immediately using "uploadHandler" after upload is completed in "on[Image,Video,Audio]BeforeUpload". example

Bugfix

  • Fixed a bug where options.icons were not applied when using the responsive toolbar. #438

v2.31.1

12 Jul 13:01
6b81e05
Compare
Choose a tag to compare

Enhancement

Bugfix

  • Fixed a bug in which an error occurred when creating an editor when there was an object added as enumerable: true in Object.propertype. #430
  • Fixed a bug where HTML rendering did not work properly when using < or > in tag properties.
    Using util.HTMLEncoder, util.HTMLDecoder methods. #431

v2.31.0

05 Jul 08:22
b140e10
Compare
Choose a tag to compare

Enhancement

  • The value option has been added.
    You can specify the initial value of the editor.

Bugfix

  • Fixed a bug where multiple images were not inserted when using "base64" encoding. #428
  • Fixed a bug that lose focus on the editor after deleting the component when there were only components in the editor. #427

v2.30.7

01 Jul 12:25
64fbc09
Compare
Choose a tag to compare

Hotfix (v2.30.1)

  • Fixed a bug in which the style of the all texts are changed when changing the style of the text. #422

Changed

  • If you use a function such as "setContents" before calling the "onload" function, it will not work properly.
  • If there is something you need to manipulate immediately after creating the editor, do it within the "onload" function.

Bugfix

  • Fixed a bug where style values were not applied correctly when using the "setOptions" or "setDefaultStyle" functions.
  • Fixed a bug where the line break button was created in the wrong location when using iframe.
  • Fixed a bug with some buttons when using the responsive toolbar.

Maintenance

  • Line break button icon has been changed.

v2.30.6

27 Jun 18:38
1ac8059
Compare
Choose a tag to compare

Enhancement

  • In the "on[Image,Video,Audio]uploadBefore" function, instead of executing the default "uploadHandler", the image can be registered by calling the "register" method that receives the "response" object as an argument value. #414 , @example

Bugfix

  • Fixed a bug where the focus was on the image caption when selecting an image in Chrome.

v2.30.5

24 Jun 18:58
912d617
Compare
Choose a tag to compare

Enhancement

Bugfix

  • Fixed a bug that "__se__tag" Class Tag. #409
  • Fixed a bug that caused input errors when inserting image files. #410
  • Fixed a bug where Firefox could not delete non-editable tags. #408
  • Fixed TypeScript error. #411
  • Fixed a bug where table image disappeared when switching to code view. #415
  • Fixed several bugs related to list editing.
  • Fixed a bug that the "maxCharCount" option did not work properly when "charCountType" option was "byte-html".

v2.30.4

20 Jun 18:22
f43475b
Compare
Choose a tag to compare

Hotfix (v2.30.1)

  • Fixed a bug that image inserted was not worked when using imageGallery in the image modal.

Enhancement

  • Modified the button's active class to disappear after the blur event.

Bugfix

  • Fixed a bug in which the first letter was deleted or added when entering a composition string after changing nodes.
  • Fixed a bug that the shortcut key did not work properly when there was no corresponding button.
  • Fixed a bug where, when using responsive toolbars, the active status of command buttons was not added after rearranging the buttons on the toolbar.
  • Fixed a bug where not reload selector position after updating image src to "base64".

v2.30.1

18 Jun 18:46
09ad1d6
Compare
Choose a tag to compare

Translation

Hotfix (v2.30.0)

  • Fixed a bug where images could not be modified.
  • Fixed a bug that the fullScreen function did not work properly while using toolbarContainer.

New feature

  • The linkProtocol option was added. #398 (@trembacz)
  • The "uploadHandler" argument has been added to the [image,video,audio]UploadBefore event. #378
    • If it returns undefined, it waits until "uploadHandler" is executed.
    • Please check to the READMD.md file for details.
  • The [image,video,audio]UploadMultiple option was added.
  • The "closureFreeFormat" format was added. #397

Enhancement

  • Fixed the style of <span> to be maintained when pasting. #400
  • Updated to allow drag and drop in the editor (Not working in IE). #304
  • Fix to add a new line when the "selection" object is in an uneditable area.

Bugfix

  • Fixed a bug where the delete button of the file input did not work in the "audio" plugin.
  • Fixed a bug where editor's focus was not maintained when the controller clicking.
  • Fixed a bug where the event function was not properly called when pasting an image file. #384
  • Fixed a bug where the shape was not retained when pasting "Katex". #395 #399
  • Fixed a bug that was not deleted by selecting all when there were tables, images, etc. at the top or bottom of the editor.
  • Fixed a bug where external CSS files were not applied when preview or printing.
  • Fixed a bug where the layout of the image gallery was broken in IE and Safari browsers.
  • Fixed a bug where an error was displayed when clicking an empty space in the image gallery was fixed.

Maintenance

  • Speed ​​up HTML consistency checking.