suneditor

Pure javascript based WYSIWYG html editor, with no dependencies.

MIT License

Downloads
116.8K
Stars
1.4K
Committers
66

Bot releases are visible (Hide)

suneditor - v2.46.2 Latest Release

Published by JiHong88 6 months ago

Bugfix

  • Fixed a bug where the "line-height" style was not maintained for the format line. #1394
suneditor - v2.46.1

Published by JiHong88 6 months ago

Hotfix(v2.46.0)

  • The bug where the input box was displayed in the editor has been fixed. #1381

Translation

  • Czech(cs) translation added. #1383 (@MarelisAdlatus)

Bugfix

  • Fixed a bug where fonts containing spaces or numbers were not displayed properly. #1382
suneditor - v2.46.0

Published by JiHong88 6 months ago

Translation

  • Farsi(persian) translation added. #1314 (@mansoor-omrani)
  • Turkish(tr) translation added. #1314 (@worm-codes)

New Feature

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

Enhancement

  • Improve selection experience #1264 #1270 #1273 (@SystemChanger)
  • Improve much better fileComponent keyboard experience #1267 (@SystemChanger)
  • Fix: buttons availability on toggling controls off #1266 (@SystemChanger)
  • Fix: onDrop to component selection #1271 (@SystemChanger)
  • Fix: prevent audio source reset in disabled mode #1276 (@SystemChanger)

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
suneditor - v2.45.1

Published by JiHong88 over 1 year ago

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
suneditor - v2.44.12

Published by JiHong88 over 1 year ago

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

  • German(de) translation fixed. #1134 (@melloware)

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
suneditor - v2.44.10

Published by JiHong88 over 1 year ago

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
suneditor - v2.44.8

Published by JiHong88 over 1 year ago

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.
suneditor - v2.44.7

Published by JiHong88 over 1 year ago

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
suneditor - v2.44.6

Published by JiHong88 over 1 year ago

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.
suneditor - v2.44.4

Published by JiHong88 over 1 year ago

Translation

  • Urdu(ur) translation added. #1119 (@adeelshahid)
  • Portuguese(pt_br) translation fixed. #1134 (@luizcmarin)

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).
suneditor - v2.44.3

Published by JiHong88 about 2 years ago

Enhancement

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

Bugfix

suneditor - v2.44.0

Published by JiHong88 about 2 years ago

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
suneditor - v2.43.14

Published by JiHong88 over 2 years ago

Bugfix

  • Fixed a bug where the edit window did not work properly when a "Katex" error occurred in the "Math" plugin. #1049
suneditor - v2.43.13

Published by JiHong88 over 2 years ago

Enhancement

  • When editing a link, it has been improved so that the link appears as entered.

Bugfix

  • Fixed a bug where editor links were not displayed in the edit window when using linkNoPrefix. #1044
suneditor - v2.43.12

Published by JiHong88 over 2 years ago

Enhancement

  • It has been modified so that the editor does not have focus when clicking on the toolbar.

Bugfix

  • The bug when the editor was loaded, the "setDir" method was executed so the style of the content was changed has been fixed. #1041
suneditor - v2.43.11

Published by JiHong88 over 2 years ago

Bugfix

  • Fixed a bug where transparent color was applied to the text style when copying and pasting on some mobile devices.
  • Fix hideToolbar option type error
suneditor - v2.43.10

Published by JiHong88 over 2 years ago

Bugfix

  • Fixed a bug that scrolled when focusing in Chrome. #1035
  • Fixed a bug in which the "br" tag was added when pasting in Windows Chrome. #1033
  • Fixed a bug in the IME input method where the first typed character was not properly entered after adding a line. #1031
suneditor - v2.43.9

Published by JiHong88 over 2 years ago

Hotfix(v2.43.7)

  • Fixed a bug where the tag properties were deleted of the value of "options.value" and the value modified in code view mode. #1026 #1029

Enhancement

  • Added "hideToolbar" option. #1023
suneditor - v2.43.8

Published by JiHong88 over 2 years ago

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
suneditor - v2.43.6

Published by JiHong88 over 2 years ago

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.
Package Rankings
Top 1.34% on Npmjs.org
Top 12.24% on Bower.io
Badges
Extracted from project README
GitHub GitHub release npm version bower version npm