Skip to content

Releases: JiHong88/suneditor

v2.2.6

02 Oct 10:03
Compare
Choose a tag to compare

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

28 Sep 04:49
Compare
Choose a tag to compare

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

27 Sep 09:23
Compare
Choose a tag to compare

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

23 Sep 19:00
Compare
Choose a tag to compare

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

22 Sep 05:17
Compare
Choose a tag to compare

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.

v2.0.13

20 Sep 16:04
Compare
Choose a tag to compare

Enhancements

  • dialog module split to the dialog and resizing module
  • The link plugin no longer calls the resizing module

Bugfix

  • In the tags other than the paragraph, the indent function and node replacement in multi-line did not worked
  • The readme.md's badge information was incorrect

Maintenance

  • Modify core document file
  • Modified getting started file

v2.0.11

19 Sep 17:07
Compare
Choose a tag to compare

Enhancements

  • The import statement is available
  • Editor area Changed : Iframe -> DIV
  • Added development tool - webpack
  • Added function SUNEDITOR.init
  • The dom object is merged to util object
  • callPlugin Functions updated
  • core function Updated
  • file structure Changed
  • Updated customizing plugin
  • Change the way use it

Bugfix

  • The operation of changing the node works normally
  • cursor function when node chang
  • The display option was not used
  • range, selection object
  • submenu action
  • when creating multiple callModule function
  • preview function
  • manage tags in delete operation
  • image plugin delete hard coding style
  • There were tags without the html title attribute.

Maintenance

  • Modified all style
  • addFont option deleted
  • Added options the popupDisplay, plugins
  • Changed plugins fontList->font, fontSizeList->fontSize
  • Changed function the getBasePath -> getIncludePath, callModule -> callPlugin
  • Added "isWysiwygDiv", "isFormatElement" function to the util object
  • language file modify

v1.11.4

31 Aug 05:14
Compare
Choose a tag to compare

Enhancements

  • Copied and pasted images can be modified normally.

Bugfix

  • An error occurred when changing the font and changing the font size in the editor.
  • deleted the SUNEDITOR.destroy function which only removing the html tag
  • deleted context -> originElementDisplay
  • added context -> navigation (path label)
  • navigation bar style

Maintenance

  • modified the core closure to refer to the dom and util objects to avoid searching for global objects.
  • changed textElement to originElement in the context object.
  • The originElementDisplay property has been added to the context object.
  • Changed editor.getLineNode function to dom.getFormatElement.

v1.11.0

23 Aug 17:51
Compare
Choose a tag to compare

Enhancements

  • update: label path (showPathLabel)
  • update: User function : getContext
    (Gets the suneditor's context object. Contains settings, plugins, and cached element objects)
  • added: dom.hasClass function and fix: sub, sub, object iterator

Bugfix

  • subscript, superscript button

Maintenance

  • _findButtonEffectTag object iterator

v1.10.4

22 Aug 12:20
Compare
Choose a tag to compare

Enhancements

  • Svg files merged to apply web font.
  • When select text, the current format is displayed.
  • _findButtonEffectTag function performance increment

Bugfix

  • CSS typo
  • horizontalRules submenu list width
  • css modify

Maintenance

  • module optimization.