Releases: JiHong88/suneditor
Releases · JiHong88/suneditor
v2.4.2
Enhancements
- The style of the button module in the toolbar has been modified.
- The distinction between button modules has become clear.
- The style of the buttons has been modified.
Bugfix
- When two or more suneditor were created, a bug that the tabs in the image interfered with each other was fixed.
- Fixed an bug where the suneditor contained objects that the user would not use.
Maintenance
- Add display style to contents tag that did not have display attribute.
v2.4.1
v2.3.3
Enhancements
- "getIncludePath" function of "util" object is run more exactly.
(Used on preview : get the src path of "suneditor.min.css", "suneditor-contents.css" or first css file)
Bugfix
- Fixed a bug to User function (disabled, enabled, appendContents, setContents)
(It did not work properly in code view state) - Added default "text-align" property on css of suneditor
(If the parent node of suneditor had a "text-align" attribute, it was affected.) - Fixed a bug to the "getSelectedRangeFormatElements" function of "core" object
- Fixed a bug to the "wrapToTags" function of "core" object
Maintenance
- Code optimization
- Added .jshintrc file
v2.3.0
Enhancements
- Added "code"(pre tag) to the "formatBlock" plugin
(Updated language file "pre") - Added "getSelectedRangeFormatElements" function to "core" object
- Added "getRangeFormatElement" function to "util" object
- Added "removeEmptyNode" function to "util" object
Bugfix
- Fixed a bug to the "list" plugin when range selected
- Controller box's arrow style
Maintenance
- Change name "getRangeSelectedFormatElement" -> "getSelectedFormatElements"
- Modified the "wrapToTags" function.
v2.2.7
Bugfix
- Fixed a bug where the height of the toolbar did not change properly when the button list was larger than the length of the toolbar.
- The contents have been modified so as not to be affected by other css.
Maintenance
- Modified the style of the line break DIV.
You can edit colors in suneditor-contents.css. - Button size increased to 35px and margin spacing adjusted.
v2.2.6
Enhancements
- Performance enhancements and bug fixes for the node change function.
Now it will always work as intended. - "img" folder's all images removed and replaced it with plan css and base64 data.
Bugfix
- Fixed a bug where "core" - "getRangeSelectedFormatElement" function would have an empty array when it selected one line.
- Fixed a bug where the Font plugin did not work properly under certain circumstances.
v2.2.4
Enhancements
- Added an align menu to the video plugin
(Modify the relevant "suneditor-contents.css")
Bugfix
- Fixed a bug where images and video tags disappeared when changing the text style by selecting a range
- Fixed a bug that only modified the first video when creating and editing multiple videos
- Fixed a bug that could not be resized when adding image first
- Fixed a bug that removed images when link was removed
- Fixed a problem where loading box disappeared before all images were rendered
- Fixed a bug that overwrote the "xmlHttpRequest" object when uploading an image server when more than one "suneditor" created.
Maintenance
- Modified a "getOffset", "isFormatElement" function of "util" object
v2.2.2
Enhancements
- A table edit controller has been added to table plugin
(Related fonts file, css updated)
Bugfix
- Since version 2.0.0 there was a bug where "suneditor" was not created
when building without "babel-polyfill" in "IE11" (Object.assign, values) - list plugin : no longer create as a child node of "formatElement"
- Node change related function (wrapRangeToTag)
- "insertNode" function
- Code view bug
Maintenance
- Added "controllerFunction" attribute to core
- Added sub, sup, ol, ul in contents style
- Added "getOffset" function to "util" object
- Changed "remove" icon
- Changed "a" tag style
- Delete "table-layout:fixed" attribute in "suneditor-contents.css"
- Turn off the controller when keyup event occurs.
- Execute focus after executing plugin
- Added "ol", "ul" to isRangeFormatElement function
- Added "tr, td, li" to isFormatElement function
v2.1.1
Enhancements
- Added "quote" function to "formatBlock" plugin
- modified the language file and style with respect to "quote" function
- node change related function optimization and bug fix
Bugfix
- "codeview" bugfix
- util: "getFormatElement" function bug fix
Maintenance
- core : added "setSelectionNode", "getRangeSelectedFormatElement", "wrapToTags" function
- util: added "isRangeFormatElement" function
- Delete the focus effect of the editor area
- Delete mousedown event on toolbar
v2.0.15
Enhancements
- The convertContentsForEditor function has been modified to work better
- Updated codeView function performance
- Buttons that can not be used in code view mode are blurred and disabled.
The "codeViewDisabledButtons" property has been added to the "core" object as a related property.
(An array of buttons whose class name is not "code-view-enabled")
Bugfix
- codeView function bugfix: characters such as "<" were not converted properly
Maintenance
- The "font" file has been updated with the addition of "hr-icon"
- user function name Change: getContent -> getContents, setContent -> setContents
- Change code view style
- defined the default style of format tags in "suneditor-contents.css" file
- Renamed arguments of plugin: _this -> core
- The customize example file has been updated.