Skip to content

Releases: JiHong88/suneditor

v2.43.8

30 May 13:57
Compare
Choose a tag to compare

Enhancement

  • Modified so that excessive "span" tags are not generated when copying/pasting text in the Chrome browser.

Bugfix

  • Fixed editor resizing bug accrue in lower browser versions.
  • Fixed a bug where sometimes there were too many line breaks when pasting. #1011
  • Fixed a bug where copy/paste in the list behaved differently than expected. #922

v2.43.6

20 May 12:41
dec71a8
Compare
Choose a tag to compare

Hotfix(v2.43.5)

  • Fiexd a bug where the button activation effect did not work properly when using the responsive toolbar.

Enhancement

  • The behavior when pasting into a list has been improved.
  • Added "aria-label" attribute to button. #1004

Bugfix

  • Fixed a bug where the "shortcutsDisable" option did not work properly in some browsers. #1007
  • Fixed a bug where the indent icon was displayed in reverse.

v2.43.5

15 May 15:22
Compare
Choose a tag to compare

Hotfix(v2.43.0)

  • Fixed a bug where placeholders did not appear. #983
  • Fixed a IE syntax error. #986
  • Fixed a bug where the video was not resizing properly. #990
  • A bug where the balloon toolbar was not displayed when selecting all has been fixed. #992
  • Fixed a bug where the style was not applied properly when applying the style to the text in the list.
  • Fixed a bug where the button state was not applied properly after focus out.
  • Add usage in Livewire & Alpine.JS @kaju74

v2.43.0

25 Apr 12:03
3ab4a6e
Compare
Choose a tag to compare

Translation

New Feature

  • Added "core.getFullContents" method. #888 #921
  • Added "__defaultFontSize" option. #800
    If the default font size is not in "px" units, forcefully specify the default font size.
  • Added "classsName" option. #914

Enhancement

  • Added "editorInstance.context.template.selectedIndex" state. #903
  • The editor width change has been modified to be affected by the width change of the editor itself, not the size of the browser window. (IE is not supported) #974
  • It has been modified to work after adding focus to the editor when "insertHTML" is called when the editor has no focus. #970
  • "onResizeEditor" #948
  • The "onResizeEditor" event has been improved so that it is called even when the editor height changes when text is input. #948
  • historyStackDelayTime

Critical bugfix

  • Fixed a bug that did not add properly when adding a table or list using the "SetContents" method. #957

Bugfix

  • Fixed a bug where inserting a link with an empty URL would cause an error. #933 (@NakZMichael)
  • Added "historyStackDelayTime" option type. #960 (@kubabogaczewicz)
  • Fixed a bug where indent and indent icons were inverted when using custom icons. #968 (@CharlesCoqueret)
  • Fixed a bug where tables were not appended properly with the "appendContent" method. #979 (@a-tonchev)
  • Fixed, "list" and "quote" button activation error in Edge browser. #923
  • Fixed a bug where audio and video were not playing in "readOnly" mode. #936
  • The bug that the print function did not work when using the "voice-in-voice-typing" plugin from Chromium browser has been fixed. #947
  • Fixed a bug where the common style of the list was not applied properly when specifying the font size as a percentage. #930
  • Fixed a bug where focus did not move normally when there are more than n editor declarations. #951
  • Fixed a bug where the cursor position was set incorrectly when adding a list from an empty line. #961
  • Fixed a bug where copy/paste in the list behaved differently than expected. #922
  • Fixed a bug where "figcaption" could not be edited when editing saved content. #924 - Fixed a bug where hash links were not entered correctly. #919
  • Fixed a bug where shortcuts in bold were not disabled in the Chromium browser. #927
  • Fixed a bug where aligned videos were not resizing properly. #880

v2.42.0

13 Jan 16:09
f7b6168
Compare
Choose a tag to compare

Translation.

New Feature

  • onSetToolbarButtons event callback has been added. #834 (@SystemChanger)
  • onSave event callback has been added. #812 (@DE-Danloc)
  • iframeAttributes option has been added. #804
  • [image, video]AlignShow options has been added. #802
  • attributesBlacklist, tagsBlacklist, pasteTagsBlacklist options has been added. #895
  • dir, dir_ltr, dir_rtl buttons has been added. #838
  • "#fix" feature has been added to the button group.
  • linkTargetNewWindow option has been added. #898
  • nullMessage, thumbnail attributes has been added to the "imageGalleryUrl" response data. #900 #908
  • resizeEnable, resizingBarContainer options has been added. #883
  • alignItems option has been added. #870
  • lineAttrReset option has been added. #848
  • hrItems option has been added. #806

Enhancement

  • iframeAttributes option has been added. #804
  • Fixed to allow empty anchor tags in editor. #818
  • Added alt attribute to "imageInfo". #813
  • Fixed to automatically remove trailing whitespace from selected text when creating a link. #894

Bugfix

  • Fixed incorrect return types from onCut, onCopy event callbacks. #810 (@DE-Danloc)
  • fix: toolbar buttons not being activated when deselecting. #820 (@SystemChanger)
  • Fixed a bug where code data could be set when the editor was not editable. #877 (@SystemChanger)
  • Fixed a bug where "more layer" was not closed when setToolbarButtons was executed. #832 (@SystemChanger)
  • Several bugs in read-only mode have been fixed. #832 (@SystemChanger)
  • Fixed a bug that caused an error when an empty string was entered in defaultTag option. #807
  • Fixed a bug where fonts were not displayed after executing setOptions. #824
  • Added exception handling to "list" and "align". #814 #828
  • Typescript build error has been fixed. #830
  • Fixed a bug where spaces were removed when pasting from MS Word. #808
  • Fixed a bug where some of the last words of a paragraph did not change when changing the text style of a long paragraph. #827
  • Fixed a bug where spaces were converted to new lines when inputting HTML. #809
  • Fixed a bug related to video tag control properties. #847 #851
  • Fixed a bug related to HTML entity. #845
  • Fixed a bug where the "Show Blocks" button did not work intermittently when using the fullPage option. #863
  • Fixed a bugs related to <iframe> and <img> tags. #831 #879 #890
  • Fixed a bug where selecting text by triple-clicking would also affect the line below when changing the text style. #852
  • Fixed a bug that caused an error when editing an image with a link. #840
  • Fixed a bug where the code view could not be scrolled in full screen mode when the height was auto. #853
  • Fixed a bug where cursor position information was not updated when right-clicking. #891
  • Fixed a bug that did not work well pasting after selecting all in IE11. #899

v2.41.3

02 Jul 10:54
1c9daf5
Compare
Choose a tag to compare

Bugfix

  • Fixed a bug where some formats were not properly entered when pasting from the Word. #798

v2.41.2

28 Jun 06:10
f3ccd25
Compare
Choose a tag to compare

Bugfix

  • Exception handling to the readOnly mode has been added. #791

v2.41.1

26 Jun 08:03
ad72580
Compare
Choose a tag to compare

Bugfix

  • Fixed bugs in readOnly mode.
  • XSS attack vulnerability fixes. #784
  • Fixed a bug where the hr tag was not deleted.
  • Fixed a bug when media tag init.

v2.41.0

22 Jun 11:42
bf2b017
Compare
Choose a tag to compare

Translation.

Enhancement

  • A readOnly method has been added.
  • It has been modified not to check the default format in the __se__tag class. #781
  • Added details, summary tags to the default tags.
  • In "Code View" mode, it has been modified not to check the format duplicate. #720

Bugfix

  • Fixed a bug where "nl"(Dutch) could not be accessed in "lang" object.

Maintenance

  • added: history object - getCurrentStack.

v2.40.0

09 Jun 14:55
cc8540f
Compare
Choose a tag to compare

Translation

  • Dutch (nl) translation added. #759 (@jellev123)

Enhancement

  • Improved the "stickytoolbar" option also works in "inline" mode. #766

Bugfix

  • Fixed a TypeScript error. #763
  • Fixed a bug when delete key not worked after select all in chrome. #767
  • Fixed a bug that related a list style. #771
  • Fixed a bug when text style not working when triple click to select