Skip to content

Releases: JiHong88/suneditor

v2.25.0

15 Jan 15:09
6765fa4
Compare
Choose a tag to compare

Translation

  • German(de) translation has been fixed.

Enhancement

Bugfix

  • Fixed a bug that position of placeholder to be incorrect when opening a notice.
  • Fixed a bug that focus to disappear after text align.
  • Fixed bug where text was not aligned in IE browser.

v2.24.0

14 Jan 16:38
a04bd7f
Compare
Choose a tag to compare

Translation

  • German(de) translation has been fixed.

Enhancement

Bugfix

  • (since v2.23.4) Fixed a bug that always inserted at the auto size when inserting the image for the first time.
  • (since v2.23.4) Fixed a bug that caused the image's align status to not be displayed.
  • Fixed a bug that keyDown event. #176
  • Fixed a bug where the onChange event would not be called if all content was deleted while holding the backspace key. #180
  • Fixed a bug in which only some data was sometimes pasted when pasting data such as Word or Excel. #181
  • Fixed a bug where "zero width space" disappeared immediately when changing a text node with a shortcutkey.
  • Fixed a bug where the focus would always go to the end of the text when selecting a table cell.
  • Fixed a bug where link nodes were not inserted correctly when adding link after selecting multiple lines.
  • Fixed a bug that caused an error when refocusing after switching from code view mode to WYSIWYG mode.

Maintenance

v2.23.4

21 Dec 14:26
b0c4db4
Compare
Choose a tag to compare

Hotfix

  • Fixed a bug where the history stack did not change when characters were deleted in version 2.23.3 #173 (@MRB60)

v2.23.3

20 Dec 07:28
907ec16
Compare
Choose a tag to compare

Hotfix (since version 2.22.0)

  • Fixed a bug where the Enter key did not work in the PRE(code) tag.
  • Fixed a bug where "imagesInfo" of image tags was not created right after editor creating when inside there were images.
  • Fixed bug where outdent button was still disabled after indentation.
  • Fixed a bug where characters were not deleted when the number of characters became the "maxCharCount" value.
  • Fixed a bug that caused scrolling to the top when selecting table cells in IE browser.

Translation

Enhancement

  • Added "ignoreChangeEvent" argument to history.reset method.
  • Changed the "selection" object to be deleted when selecting an image or video component.
  • Modified to give focus to the first TD when creating a table.

Bugfix

  • Since version 2.18.0, a bug was fixed in which the text of the image caption was not selected in the Safari browser.
  • Fixed a bug where images were not selected because "imagesInfo" and image elements were different after calling the "setOptions" method.
    (Fixed the "onImageUpload" event to be recalled with "update" state after calling the "setOptions" method.)
  • Fixed a bug where vertical size was not applied correctly when using center alignment for % size in dialog box.
  • Fixed bug where "zero width space" was removed even with direction keys such as arrow keys, which prevented the inserted tag from get focus.

Maintainence

  • Fixed left and right margin values of blockquote tag to 0.
  • Modified that not to selected text range during table cells selection.
  • Added an "element" attribute that is an element of an image tag to "imagesInfo".
  • Added the "notHistoryPush" argument to the core.insertComponent method.
  • Added removeRange, selectComponent, focusEdge method to core object.

v2.23.0

11 Dec 18:27
Compare
Choose a tag to compare

Translation

  • Brazilian Portuguese translation added. #163 (@lpeil)

Enhancement

  • Fixed the resizing module for images and videos: #158 (@MRB60)
    • When entering the size, you can insert the size unit such as px, % directly.
    • % Size and px size can be used at the same time.
    • "resize 25%" button has been deleted, "auto size" button has been added.
    스크린샷 2019-12-12 오전 3 06 49
  • image:
    • The input value of the "imageWidth" option has been modified.
    • The "imageSizeUnit" option has been removed.
    • "imageSizeOnlyPercentage" and "imageHeightShow" options have been added.
  • video:
    • A ratio select option has been added to the video dialog.
    • Modified the video size input tag to be can input % sizes.
    • Caption have been removed from the video.
      If the caption is inside a video component, it is moved to the div below the component.
    • The input value of the "videoWidth" option has been modified.
    • The "videoHeight" option has been removed.
    • "videoSizeOnlyPercentage", "videoRotation", "videoRatio", "videoRatioList", "videoHeightShow", "videoRatioShow" options have been added.
    스크린샷 2019-12-12 오전 3 14 47

Bugfix

  • Fixed a bug where the plugin was not added properly when adding a plugin in the format like:
    const align = require('suneditor/src/plugins/submenu/align') #162 (@mkhstar)
  • Fixed a bug where some of the properties used in the editor were missing when pasting.

Maintenance

  • The core.history object's "reset" method has been modified to work correctly. #161 (@MRB60)
  • The "invert" item has been removed from the default value of the "paragraphStyles" option.
  • isNumber and getNumber methods have been added to the "util" object.

v2.22.0

02 Dec 16:59
5fc4efe
Compare
Choose a tag to compare

Enhancement

  • Improved to minimize duplicate tags when tags are added, changed or deleted.

    • The same tag changes only the style, and adjacent tags are merged.
    • Adding or removing tags does not split text nodes.
    • The "zero width space" is no longer excessively created.
  • "textStyle" and "paragraphStyle" plugins and buttons have been added.
    "textStyles" and "paragraphStyles" options have been added.
    스크린샷 2019-12-03 오전 2 16 55스크린샷 2019-12-03 오전 2 16 23

  • The unlink button has been added to the "link" plugin.
    스크린샷 2019-12-03 오전 1 41 20

  • "imageSizeUnit" and "imageRotation" options have been added. #158 (@MRB60)

  • Line breaks and indents in Code view mode have been improved.

  • Modified to cancel with ESC key while resizing images and videos.

  • Fixed the "iframeCSSFileName" option to use arrays.

Bugfix

  • Fixed bug where the toolbar disappeared when using code view in "inline" or "balloon" modes, and you could not go back to WYSIWYG mode. #156 (@LexaGal)
  • Fixed a bug that caused an error when using methods such as "setContents" immediately after creating an editor. #153 (@MRB60)
  • Fixed an issue that caused the resizing module to go up the toolbar when scrolling. #149 (@sudwebdesign)
  • Fixed a bug where "redo" did not work when the "undo" stack reached the end when using the "fullPage" option.
  • Fixed a bug that caused an error when inserting a YouTube address containing a query string.
  • Fixed a bug where the "appendContents" and "setContents" methods did not work correctly when in code view mode.

Maintenance

  • The custom format attribute names for the "formats" option have been changed.
  • The "PRE" format tag has been fixed to do not create scroll.
  • The copyTagAttributes and isSameAttributes methods have been added to the util object.
  • The core.nodeChange method has been improved.

v2.21.2

13 Nov 16:58
a4158b8
Compare
Choose a tag to compare

Enhancement

  • Improved line breaks in tags in Code view mode.

Bugfix

  • A bug that prevented scrolling in the preview when the "fullPage" or "iframe" option is true has been fixed.
  • Fixed a bug where the print and preview methods did not work properly when the "fullPage" or "iframe" option was true.
  • Fixed a bug where the minimum size of the editor was not applied when the "fullPage" or "iframe" option was true.
  • Fixed a bug where incorrect contents were recorded on the first stack when the "fullPage" option was true.
  • Fixed a bug where the "contenteditable" attribute was not removed from the return HTML of the "getContents" method when the "fullPage" option was true.

Maintenance

v2.21.1

11 Nov 15:46
f5ed0e3
Compare
Choose a tag to compare

Enhancement

  • Fixed the line format to be initialized to paragraph tag after remove attributes when the backspace key is pressed when there is no content in the editor.
  • Fixed the style of the line format(H1, P, List.. etc.) to be maintained when the line format is changed.
    (text-align, line-height.. etc).

Bugfix

  • Fixed a bug where the history stack did not work properly when the "fullPage" option was true.

Maintenance

  • The "onlyContents" argument has been added to the "getContents" method.
    (Return only the contents of the body without headers when the "fullPage" option is true)

v2.21.0

10 Nov 16:45
b5b66c6
Compare
Choose a tag to compare

Translation

  • French translation has been fixed. #139 (@jeromegervais)
  • The toolbar.lineHeight property has been added.

Enhancement

  • After creating the editor, the user object has been modified to allow access to the core and util objects.
    (Now can redefine the method after creating the editor.)
  • Added "lineHeight" plugin and button.
  • Added "lineHeights", "fontSizeUnit" options.

스크린샷 2019-11-11 오전 1 37 34

Bugfix

  • Fixed a bug where the placeholder did not disappear when pasting from firefox. #138 (@sudwebdesign)

  • Fixed a bug that sometimes caused the code to not convert when returning to "wysiwyg" mode from code view mode while using the "fullPage" option.

  • Fixed a bug where converting text format front the "A" tag did not worke.

  • Fixed a bug where the toolbar would be set incorrectly when canceling full view if there was no scroll on the screen while using the "iframe" option.

v2.20.1

14 Oct 17:33
b384eee
Compare
Choose a tag to compare

Hotfix

  • Since version 2.20.0, when the editor was created as an iframe, a bug in which the position value of the resize module such as an image was calculated incorrectly has been fixed.
  • Fixed a bug where adding a placeholder option with the setOptions method did not result in a placeholder.

Bugfix

  • Fixed a bug that did not update the history stack after calling removeNode method.

Maintenance

  • The css in the color picker has been modified slightly.

스크린샷 2019-10-15 오전 2 25 43