Skip to content

Releases: JiHong88/suneditor

v2.6.3

31 Oct 04:42
Compare
Choose a tag to compare

Enhancement

  • Added Sticky Toolbar mode.
    Added related options "stickToolbar".
  • When the "height" option is set to "auto", the length is increased without scroll.
    Added related options "minHeight", "maxHeight".
  • Added The "resizingBar" options, you can show or hide "resizingBar"
  • The submenu has been modified to calculate the location according to the screen size.

Bugfix

  • Fixed a bug a prevented the ability to modify image captions and video frames when you returned to WYSIWYG mode in Code view mode
  • Fixed a bug where IDs were added to "suneditor" even though there was no ID in "textarea" when creating editor.
    IDs are not created if there is no ID value.
  • Fixed a bug where checkboxes and radio buttons were not checked when a label was clicked when there was more than one editor.
  • Fixed a bug where button blurring was applied to also other editors when using code view when was more than one editor.

Maintenance

  • Added "Impact" font to default font array.
  • Modified context: context.tool.bar -> context.element.toolbar.
  • Modified option: videoX, videoY -> videoWidth, videoHeight.
  • Modified context: context.element.resizebar -> resizingBar
  • Changed event: editor mouseup event -> click event
  • Added variable: core._variable.minResizingSize
    Minimum size of editing area (65px)

v2.5.3

28 Oct 18:14
Compare
Choose a tag to compare

Enhancement

  • Update the features and design of the Color Picker module
  • Add options the “colorList”
  • Add “insertHTML” function
    Inserts an HTML element or HTML string or plain string at the current cursor position

Bugfix

  • Fix a bug when modifying directly inserted image element
  • Fix a bug of node change function when image div contains

Maintenance

  • Removed the default "http: //" of link plugin (Can use relative link)
  • Change icon of full screen
  • Add color picker module to module’s folder

v2.4.3

21 Oct 16:47
Compare
Choose a tag to compare

Enhancenment

  • The range selection is applied when using the "indent" function.

Bugfix

  • Fixed a bug where the position of the resizing div of the video tag inside the table did not display correctly.
  • Fixed a bug to "appendP" method of "core" object when inside TD tag.
  • Modify superscript tag style.
  • Indent's shortcut key was incorrect.
  • "Li" tag exception handling of table plugin.

Maintenence

  • Added "commandHandler" method to "core" object.
  • Added .jshintignore file.

v2.4.2

18 Oct 19:56
Compare
Choose a tag to compare

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

16 Oct 16:02
Compare
Choose a tag to compare

Enhancements

  • Add mirror(horizontal, vertical) button to resizing module
    Applied to image and video plugins
    (updated a Language file)

Maintenance

  • Add karma, jasmine, npmignore

v2.3.3

11 Oct 19:00
Compare
Choose a tag to compare

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

07 Oct 18:40
Compare
Choose a tag to compare

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

03 Oct 19:50
Compare
Choose a tag to compare

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

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