Skip to content

v2.23.0

Compare
Choose a tag to compare
@JiHong88 JiHong88 released this 11 Dec 18:27
· 1538 commits to master since this release

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.