Releases: JiHong88/suneditor
Releases · JiHong88/suneditor
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.
v2.34.2
Hotfix (v2.34.1)
- The bug that
core.removeNode()
did not work in the entire selection state has been fixed. #525 - A bug where an error occurred when the
buttonList
value wasNullish
has been fixed. #548 - The bug that the data created by the "Math" plugin was not normal has been fixed.
New feature
Enhancement
- When
Nullish
value is given as an argument ofcore.setContents()
, the default tag is also removed. #546 - Fixed an XSS attack vulnerability. #556
Bugfix
- Fixed a bug where some Katex svg images were not displayed properly. #540
- A bug where some characters were not input in the German input device has been fixed. #532
- Fixed a bug a error occurred when using
core.setContents()
. #543 - Fixed a bug that whitelist relate options is not worked. #545
- Fixed a bug where the content was not properly added when using
core.insertHTML()
in an empty line. #549
v2.34.1
Enhancement
- Modified so that the
toolbarContainer
option can be used inballoon
mode. #517 - Shortcuts text of tooltip have been modified to make them more visible. #528
- Modified so that the same
buttonList
object can be used in two or more editors. #533
Bugfix
- Fixed a bug when adding multiple images with base64, the bug that the image was not rendered in the correct position. #511
- Fixed a bug where the menu was incorrectly positioned in RTL mode.
- Fixed a bug where RTL mode was not applied to the edit area when using the
iframe
option. - Fixed a bug where the backslash in the formula disappeared when modifying the tag created by the
Math
plugin enter it by usingsetContents
. #399 - Incorrect style fixed #529
- Fixed a bug that caused the resizing controller to appear in the wrong location when using the
iframe
option.
v2.34.0
Enhancement
rtl
(Right to Left) option has been added. #450 (@BrianJVarley @impulsgraw)previewTemplate
option was added. #520- Modified to allow other 200 range success responses when uploading files. #518 (@andylwelch)
- Paste and drop event parameters have been modified. #474
Bugfix
- When inserting a component such as an image on an empty line, a bug where the insertion position was not properly specified has been fixed. #511
- Fixed a bug when deleting a text node style from an empty line, also other nodes were deleted has been fixed. #514
Maintenance
- Added methods: core.setControllerPosition
v2.33.3
v2.33.1
v2.33.0
Translation
- Central kurdish (ckb) translation added. #469 (@AramRafeq)
- Latvian (lv) translation added. #453 (@skivsoft)
New feature
[image, video, audio]Accept
options has been added. (default: "*") #466
Enhancement
- When the style is applied to the whole text, the style is also applied to the list item. #457
- Modified that multiple lines of text can be pasted into a code block. #467
- Modified so that multiple tags can be set in the image gallery. ("tag1, tag2" or ["tag1", "tag2"]) #460
- When "i" is added to the
addTagsWhitelist
option, it is modified so that it is not converted to<em>
. #458 - A "Code" text style was added as default value to the
textStyle
button. #472
Bugfix
- A bug that background color is not applied to whole font size has been fixed. #465
- A bug that did not work in the "SSR" environment has been fixed. #454
- When uploading an no-size svg file, the default size is set to 30%. #476
- When pasting the "Katex" text, a bug where certain characters were not applied has been fixed. #399
- A bug in which the style was not applied to the selected text in certain situations has been fixed. #464
- A bug that delete paragraph text when inserting image after a line break has been fixed. #473
- A bug in which
<div>
was added to the list when pasting a list has been fixed. #480, #461 - A bug that null is shown in width / height input field when constraint proportion checked with 0 in one of the input has been fixed. #463
- A bug where unnecessary text was inserted when pasting text in Microsoft Word has been fixed. #462
Maintenance
- When added the
se-code-language
class to theCode
block, default<span>
style is not applied. #470 - The "rangeSelection" argument has been added to functions.insertHTML. When true, the inserted text is selected. #481