Skip to content

Releases: JiHong88/suneditor

v2.36.0

28 Jan 19:22
f4286fb
Compare
Choose a tag to compare

New feature

  • Modified to can use the use of "mailto:" at the link module. #608
  • linkRelDefault option has been added. #583
  • mediaAutoSelect 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

21 Jan 17:49
ac10e9f
Compare
Choose a tag to compare

Hotfix (v2.35.0)

  • Fixed a bug where table cell split did not work.

Bugfix

  • Fixed a bug in which content was pasted as an image when pasting from MS Word and Excel. #553 #597

v2.35.0

18 Jan 18:30
7517b78
Compare
Choose a tag to compare

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 the setOptions 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 of defaultTag at line breaks in the Header 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

12 Nov 16:28
da46c38
Compare
Choose a tag to compare

Hotfix (v2.34.2)

  • When switching from the "code view mode" or when using core.setContents or core.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

11 Nov 17:14
fa544b0
Compare
Choose a tag to compare

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 was Nullish has been fixed. #548
  • The bug that the data created by the "Math" plugin was not normal has been fixed.

New feature

  • defaultTag option has been added. #526 #537

Enhancement

  • When Nullish value is given as an argument of core.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

30 Oct 17:49
Compare
Choose a tag to compare

Enhancement

  • Modified so that the toolbarContainer option can be used in balloon 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 using setContents. #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

18 Oct 18:18
87eb534
Compare
Choose a tag to compare

Enhancement

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

v2.33.3

18 Sep 01:01
3498ed2
Compare
Choose a tag to compare

Hotfix (v2.33.0)

  • A bug that link unlink function not work has been fixed. #502
  • A bug that [image,audio,video]Accept options doesn't work has been fixed. #498

v2.33.1

05 Sep 16:11
fda4580
Compare
Choose a tag to compare

Hotfix (v2.33.0)

  • Fixed a bug where a link or image is not inserted when the text input is focused in the dialog. #492
  • Fixed a bug where the link was not selected after inserting the link.

Enhancement

  • Added source map.
  • historyStackDelayTime option has been added. #489

Bugfix

  • A bug where the selection area was not deleted when pasting was fixed when selecting text by dragging it outside the editor. #485
  • In certain circumstances, when inserting an image, a bug in which the existing image was deleted and inserted has been fixed. #491

v2.33.0

03 Sep 17:34
c5d7ac5
Compare
Choose a tag to compare

Translation

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 the Code 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