Releases: JiHong88/suneditor
Releases · JiHong88/suneditor
v2.43.8
Enhancement
- Modified so that excessive "span" tags are not generated when copying/pasting text in the Chrome browser.
Bugfix
v2.43.6
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
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
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
v2.42.0
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. #802attributesBlacklist
,tagsBlacklist
,pasteTagsBlacklist
options has been added. #895dir
,dir_ltr
,dir_rtl
buttons has been added. #838"#fix"
feature has been added to the button group.linkTargetNewWindow
option has been added. #898nullMessage
,thumbnail
attributes has been added to the "imageGalleryUrl" response data. #900 #908resizeEnable
,resizingBarContainer
options has been added. #883alignItems
option has been added. #870lineAttrReset
option has been added. #848hrItems
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
v2.41.2
v2.41.1
v2.41.0
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.