Releases: JiHong88/suneditor
Releases · JiHong88/suneditor
v2.32.1
v2.32.0
v2.31.2
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
Enhancement
Bugfix
- Fixed a bug in which an error occurred when creating an editor when there was an object added as
enumerable: true
inObject.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
Enhancement
- The
value
option has been added.
You can specify the initial value of the editor.
Bugfix
v2.30.7
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
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
Enhancement
- closureRangeFormat format has been added. #412
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
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
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 usingtoolbarContainer
.
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.
- If it returns
- The
[image,video,audio]UploadMultiple
option was added. - The "closureFreeFormat" format was added. #397
- Added related methods: isClosureFreeFormatElement, getClosureFreeFormatElement
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.