Skip to content

Releases: JiHong88/suneditor

v2.46.0

14 Apr 17:09
7554d75
Compare
Choose a tag to compare

Translation

New Feature

  • A "strictMode" option has been added. #1320
  • on[Audio, Image, Video]DeleteBefore event has been added. #1284

Enhancement

Critical bug

  • Fixed a bug where the top line of the list is deleted when exiting the list with the Enter key. #1269 #1308

Bugfix

  • Fixed readonly-buttons-availability #1265 (@SystemChanger)
  • Fixed bug with adding images in certain situations. #1312 (@JFox23 #1335)
  • Fixed escape URL for safe use in regular expression #1327 (@JFox23 #1336)
  • Fixed whitespace charatcer. #1367 (@iveretelnyk #1339)
  • Fixed infinite loading effect bug when adding images. #1259
  • Fixed composition character line break error on mobile. #1289
  • Fixed a bug where “figcation” was inserted twice in certain situations. #1279
  • Added exception handling - "_setCharCount" #1286
  • Fix a bug imageGallery releated #1253
  • Fixed a bug where styles copied and pasted from Outlook were not applied properly. #1258 #1280
  • Fixed a bug where list style was removed. #1268 #1282
  • Fixed a selection bug on mobile. #1277
  • Fixed a bug on component style. #1334

v2.45.1

18 Jun 10:46
Compare
Choose a tag to compare

New Feature

  • Added allowClassName option. #1244 #1246
  • Added __allowedScriptTag option. #764

Enhancement

  • Improved to operate properly within the editor when using <input> tags. #1236
  • Even when using <div> as a target element, the content inside the tag has been improved so that it is designated as the default value. #1249

Bugfix

  • Fixed a bug where the linkProtocol option did not work properly. #1245
  • Fixed some bugs in "enter key" action.
  • Fixed a bug where using backspace would reset text style to the default style under certain circumstances. #1213
  • Fixed a bug where the enter key worked in "readOnly" mode. #1234
  • Fixed a bug where the range designation with the arrow keys did not work properly under certain circumstances. #1242

v2.44.12

20 Apr 19:53
Compare
Choose a tag to compare

Hotfix(v2.44.9~)

  • Fixed a bug where the previous style was deleted when two or more font styles were applied. #1230
  • Fixed a bug where the alignment of images was not maintained. #1226 #1231

Translation

Enhancement

  • Some elements created in the editor have been improved so that the contenteditable attribute is not included. #1229

Bugfix

  • Fixed a style bug in the "align": menu. #1223 (@stolp)
  • Fixed a bug where images in the image gallery could not be selected in IE11.
  • Fixed a bug where images were not being pasted to the correct location in the list. #1225

v2.44.10

11 Apr 11:52
Compare
Choose a tag to compare

Hotfix(v2.44.4~)

  • Fixed a bug where the Enter key did not work properly when designating a range.

Enhancement

  • Improved to use "balloon" mode on mobile. #1218

Bugfix

  • Fixed a bug that caused the error ._resourcesStateChange is not a function when using React.StrictMode. #1217

v2.44.8

09 Apr 16:01
Compare
Choose a tag to compare

Bugfix

  • Fixed a bug where incorrect characters were added as tag attributes under certain circumstances. #1211
  • Fixed bug where too many newline characters sometimes entered when pasting.

v2.44.7

09 Apr 13:14
867c8c7
Compare
Choose a tag to compare

Bugfix

  • Fixed a bug that caused image styles to disappear in preview. #1206 (@james-song)
  • Fixed a bug that caused an error when using absolute size (small, medium, large, etc.) inline font size styles. #1207

v2.44.6

31 Mar 08:00
e9445ad
Compare
Choose a tag to compare

Hotfix(v2.44.4)

  • Bug when adding a link duplicates the text and adds the link as new text has been fixed. #1197
  • Fixed a bug where an error occurred when only text was added with setContents() #1201
  • A bug with the "selection" object has been fixed.

v2.44.4

27 Mar 15:25
Compare
Choose a tag to compare

Translation

Enhancement

  • Add "contents" parameter to onBlur event. #1145 (@dev-mohanraj)
  • Improvement of applying line breaks when pasting. #1147
  • The getContents() method has been improved to return after cleaning the HTML. #1130
  • The child nodes of .__se__tag tag have also been improved so that the structure and properties are maintained. #1108

Bugfix

  • Fixed frame component bugs such as images inside .__se__tag. #1149
  • Fixed a bug when editor height calculation with hidden toolbar. #1153 (@SystemChanger)
  • Fixed a bug that caused an error in browsers without the ResizeObserver function. #1155 (@SystemChanger)
  • Fixed an error when IE11+ complained when deleting empty paragraph with Backspace key #1176 (@vzkiss)
  • Fixed a bug where the font size was not displayed in the specified unit. #1166
  • Fixed a bug where defaultStyle was not applied in "fullScreen". #1172
  • Fixed a bug where some "Katex" syntax did not render properly when returning to WYSIWYG mode from codeView mode. #1131
  • Fixed a bug where markups could be edited outside the editor. #1146
  • Fixed a bug where the cursor moved to the top line after deleting a list. #1127
  • Fixed a bug where multiple line breaks were replaced with single line breaks when pasting. #1114
  • Fixed a bug that occurred when inserting an image with the "setContents()" method. #1118
  • Fixed bug where lineAttrReset option did not work properly.
  • Fixed a bug where some events would stop even if they returned undefined instead of false (onCopy, onPaste, onDrop, onCut).

v2.44.3

08 Oct 07:42
8343dec
Compare
Choose a tag to compare

Enhancement

  • Fixed have been made so that the same tags do not continue to overlap when pasting styled text.

Bugfix

  • Fixed a bug where unintentional styles were applied when pasting. #1093
  • The "#1011" issue that was fixed in v2.43.8 recurred in 2.44.0 and has been fixed.

v2.44.0

22 Sep 13:24
1fd0324
Compare
Choose a tag to compare

Hotfix(since v2.43.10)

  • A bug where Excel data was not pasted properly has been fixed. #1075

New Feature

  • A "frameAttrbutes" option has been added. #1066

Enhancement

  • Improve embed video to gives a proper iframe #1061
  • Fixed so that the font size is changed to the value of the editor's "fontSizeUnit" option when pasting. #1064
  • Fixed bug output style on "Katex" error. #1084

Bugfix

  • Fixed a bug an intermittent error occurred when resizing the editor.
  • Fixed position bug of caption when rotating image.
  • Fixed positioning bug when rotating component in "rtl" mode
  • Fixed a bug when image resizing. #1080
  • Fix a bug related to event after loading editor. #1037
  • Fixed a bug where the "defaultStyle" option was ignored in fullscreen mode. #1085
  • Fixed a bug where images were not displayed properly when specifying a link on uploading multiple images. #1086
  • Fixed a bug where some characters would disappear when using the "core.insertNode()" function or copy/paste or use it. #1071 #1091