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.43.5

Published by JiHong88 over 2 years ago

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

Published by JiHong88 over 2 years ago

Translation

  • Chinese (zh_cn) translation fixed. #943 (@stevending1st)

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

Published by JiHong88 almost 3 years ago

Translation.

  • French (fr) translation fixed. #816 (@ad2ien)

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

Published by JiHong88 over 3 years ago

Bugfix

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

Published by JiHong88 over 3 years ago

Bugfix

  • Exception handling to the readOnly mode has been added. #791
suneditor - v2.41.1

Published by JiHong88 over 3 years ago

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

Published by JiHong88 over 3 years ago

Translation.

  • Dutch (nl) translation fixed. #785 (@Flavio-Occ)

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

Published by JiHong88 over 3 years ago

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

Published by JiHong88 over 3 years ago

New Feature

  • The onResizeEditor event has been added. #753

Enhancement

  • Improved tag indent and line break in code view mode.

Bugfix

  • Fixed a bug that TypeScript build fails. #754
  • Fixed a bug when paste from "Notepad" displayed <br> tag. #743
  • Fixed a bug that HTML converter.
  • XSS attack vulnerability fixes.
suneditor - v2.38.10

Published by JiHong88 over 3 years ago

Enhancement

  • "Font" and "Size" have been modified to display default values. #748

Bugfix

  • Fixed a bug where the text style was not maintained when entering the enter key at the end of the text.
suneditor - v2.38.8

Published by JiHong88 over 3 years ago

Bugfix

  • Fixed a bug where line breaks disappear when pasting. #743
suneditor - v2.38.7

Published by JiHong88 over 3 years ago

Bugfix

  • When pasting an external image or video, a bug that sometimes the element was not properly added has been fixed. #709
  • Fixed a bug in which the default action was not canceled even when returning false in the user event. #736
suneditor - v2.38.6

Published by JiHong88 over 3 years ago

Enhancement

  • The user event location has been modified so that the current event action can be canceled by a user event. #736
// EX)
editorInstance.onKeyDown = (event, core) => {
    event.preventDefault();
    return false;
}
suneditor - v2.38.5

Published by JiHong88 over 3 years ago

Bugfix (since v2.33.0)

  • Fixed a bug where the other text style was not removed when the font-size style was applied. #732
suneditor - v2.38.4

Published by JiHong88 over 3 years ago

Bugfix

  • Fixed a bug that core.insertNode() is creates a new line when inserted in the middle of the string has been confirmed. #725
  • Fixed a bug that TypeScript build fails. #727
  • Fixed a bug where the default color of the font was not applied properly. #729
suneditor - v2.38.3

Published by JiHong88 over 3 years ago

Enhancement

  • The addTagsWhitelist option has been updated to support tags with a dash(-) in the name. #716
suneditor - v2.38.2

Published by JiHong88 over 3 years ago

Bugfix

  • When pasting an external image or video, a bug that sometimes the element was not properly added has been fixed. #709 #714
  • XSS attack vulnerability fixes.
suneditor - v2.38.1

Published by JiHong88 over 3 years ago

Enhancement

  • The "z-index" and "position" properties of options.defaultStyle have been modified to be applied to the top div. #706

Bugfix

  • Fiexed a bug where KaTeX rendering was broken, since 2.37.4 version. #707
suneditor - v2.38.0

Published by JiHong88 over 3 years ago

New feture

  • The printTemplate option has been added. #696

Enhancement

  • Adapt module export for Typescript 2.6. #700 (@DouglasOGarrido)
  • Updated Typescript definitions. #701 (@Josef-Haupt)
  • Modified the anchor module to can use the "tel:" and "sms:".

Bugfix

  • Fiexed "Request-Headers" error at the ImageGallery. #702 (@verti4cal)
  • Added media component exception handling. #694
  • Fixed a bug where tag would render when pasting text containing HTML tags. #691
  • Fixed a bug that focusing on the editor when using the core.setContents() method. #686
suneditor - v2.37.4

Published by JiHong88 over 3 years ago

Bugfix

  • XSS attack vulnerability fixes
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