Releases: JiHong88/suneditor
Releases · JiHong88/suneditor
v2.37.1
v2.37.0
New feature
mathFontSize
option has been added. #653imageGalleryHeader
option has been added. #654tagsBlacklist
andpasteTagsBlacklist
options has been added. #664
Enhancement
- It has been improved to be able to select an internal header tag when entering a bookmark in the anchor module. #593
Bugfix
v2.36.5
New feature
- Added
_printClass
option to define the class of print and preview. #629
Bugfix
- Fixed a bug in which changing the
lang
option did not work with thesetOptions()
method. #639 - Fixed a bug in which activation/deactivation of the indent icon did not work properly. #646
- Fixed a bug when adding components such as images and videos from the horizontal line, a bug that was added at the wrong location. #642
- Katex has been modified to always operate in
LTR
mode. #621
Maintenance
- Modified the rendering difference between the
value
option and thecode view
mode. #639 - The focus effect of the horizontal line has been added.
v2.36.4
Bugfix
- Fixed a bug where the link of the image disappeared when returning to the WYSIWYG mode from the code view mode. #637
- Fixed a bug in which the size of the rotated image or video was not properly adjusted.
- When enviroment "shadowRoot", the location error of the toolbar and menu has been fixed.
Maintenance
- Added core.getGlobalScrollOffset method.
v2.36.2
Translation
- Hebrew (he) translation added. #620 (@tom-programming)
- Italian(it) translation fixed. #619 (@tom-programming)
Bugfix
- The "Cannot redefine property: SUNEDITOR" error has been fixed. #626
- Fixed a bug in which the responsive toolbar did not work properly when in "balloon" or "inline" mode. #632
- Fixed a bug where the image rotation value disappeared when returning to the Wiziwig mode from the code view mode. #631
- Katex has been modified to always operate in LTR mode. #621
- Fixed a bug that did not render correctly when copying and pasting Katex equations. #540
- Fixed a bug where the controller was not clicked when used in "shadowRoot".
Maintenance
- XSS attack vulnerability fixes
v2.36.1
v2.36.0
New feature
- Modified to can use the use of "mailto:" at the
link
module. #608 linkRelDefault
option has been added. #583mediaAutoSelect
option has been added. #603
Enhancement
- A "download link" check box was added to the
link
module. - The
link
module`s "rel" option has been modified to enable duplicate selection. #583 - The protocol display of the
link
module has been improved.
Bugfix
- Fixed a bug where "alt text" was not displayed when editing an
image
. #601 - Fixed a bug in
core.insertNode()
. #584 - Fixed a bug in which the iframe tag was not converted to a
video
component. #602 - Fixed a bug in which the
[image, video, audio]uploadError
event function was not called correctly. #605
Maintenance
- Added
core._variable.isChanged
. - Fixed
util.toggleClass
to return boolean values.
v2.35.1
v2.35.0
Translation
New feature
- You can enter "nonbreaking space character". #554
Windows:Ctrl + Shift + Space
Mac:Option(⌥) + Shift + Space
- The
textTags
option has been added. #526 - A
bookmark button
has been added to the link plugin. #593 - The
linkRel
option has been added. #583 - The
fullScreenOffset
option has been added. - Added setIframeContents, blur method to the core. #527
Enhancement
- Empty array values are allowed in the
buttonList
. #571 Save
button shortcut has been added.
Bugfix
- A bug that the
responsive toolbar
was operating based on the width of the window, not the width of the toolbar, has been fixed.
You need to readjust the responsive size of the buttonList. - Fixed an error that occurs by accessing scrollTop when the 'wysiwyg' instance is null. #590 (@2dubbing)
- Fixed a bug where the position of the controller was not updated when sorting in the resizing controller.
- Fixed a bug in certain situations, a bug where
links
were inserted in the wrong location. #584 - Fixed a bug that was inserted at the wrong position when inserting a component below the list. #585
- Fixed a bug when pasting from Microsoft Word, a bug in which characters such as internal styles were pasted. #462 (@wxjzeke)
- Fixed a bug in which a span tag was added when deleting the component below the header tag with the backspace key. #573
- The KaTeX style issue has been fixed. #540
- Fixed a bug that did not apply when overriding
defaultTag
in thesetOptions
method. #564 - Fixed a bug where the responsive toolbar list did not work when calling the
setOptions
method. - Fixed a bug where
<div>
was added instead ofdefaultTag
at line breaks in theHeader
tag. - Fixed a bug where the percentage size image modification did not work properly.
- Fixed error of the Type. (plugins, buttonList)
Maintenance
- "dir" argument has been added to the core.isEdgePoint method.
- Removed the
core.eventStop
method. - Added
options
property to the core.
v2.34.3
Hotfix (v2.34.2)
- When switching from the "code view mode" or when using
core.setContents
orcore.appendContens()
, a bug in which HTML classes etc. disappeared has been fixed.
Bugfix
- A bug in which the
tag related whitelist
option was not properly applied has been fixed.