Skip to content

Releases: nhn/tui.editor

[email protected]

25 Apr 01:00
Compare
Choose a tag to compare

Feature

  • Added feature that emitschange event when toggle task in viewer (#2442)
  • Expand plugin interface to containing inputRules, InputRule,undoInputRule in pmRules and PluginKey in pmState. (#2451)

Bugfixes

  • Fixed that getHTML() API includes placeholder HTML. (#2301)
  • Fixed that typo in german translation (#2391)
  • Fixed that HTML escape is not correct when switching editing mode. (#2382)

[email protected]

10 Feb 14:21
Compare
Choose a tag to compare

Bugfixes

  • Fixed that addImageBlobHook is not triggered in WYSIWYG when copying the image through the browser. (#2054)
  • Fixed that users cannot exit table in wysiwyg. (#2250)
  • Fixed the miscalculated wysiwyg table mapping offset. (#2251)
  • Fixed the wrong htmlBlock converting. (#2252)
  • Fixed the wrong link, image escape when converting. (#2267)
  • Fixed that the editor cannot clear the timer in editor and chart plugin. (#2270)
  • Fixed the wrong popup widget position when scrolling. (#2271)
  • Fixed the editor cannot find the markdown node in iframe. (#2272)
  • Fixed that the editor cannot control undo, redo command using useCommandShortcut option. (#2274)
  • Fixed the script error when converting $$text$$ text. (#2275)
  • Fixed that undefined is registered as the event to editor, viewer in react wrapper. (#2292)
  • The indent, outdent toolbar items are only enabled in the list node. (#2294)
  • Fixed that the editor cannot convert html comment node. (#2297)
  • Fixed that the editor cannot find the element using document.querySelector() in case of multiple editor instances. (#2298)

Enhancement

  • Added the customBlock command. (#2273)

[email protected]

27 Dec 06:55
Compare
Choose a tag to compare

Bugfixes

  • Fixed that editor cannot replace popup element when custom popup component is updated. Thanks for @PaulSchult. (#2029)
  • Fixed the unexpected dragging custom block element in wysiwyg. Thanks for @z-950. (#2049)
  • Fixed that the user cannot disable initial focus with autofocus option on markdown tab mode. Thanks for @zhousg. (#2085)
  • Fixed that the editor cannot execute markdown list command below the heading text. (#2102)
  • Fixed that Heading state remains when changed to Paragraph in WYSIWYG mode. (#2103)
  • Fixed that the editor fails to render content if table syntax is wrong. (#2104)
  • Fixed the wrong escape with link, image url when converting. (#2105)
  • Fixed onLoad event is not triggered in react wrapper. (#2107)
  • Fixed overflowing text in viewer. (#2133)
  • Fixed that the "Link Text" popup field is no filled with the current selected text when clicking 'link' button. (#2142)
  • Fixed the broken converting to markdown when the node has double quote string attribute value. (#2143)

[email protected]

03 Dec 06:41
Compare
Choose a tag to compare

Bugfixes

  • Checked if the mso-list attribute is available before treating a paragraph as a list item. Thanks for @paddya. (#1682)
  • Fixed frozen browser when cutting table contents. (#2055)

[email protected]

27 Oct 07:45
Compare
Choose a tag to compare

Bugfixes

  • Fixed that <br> operation when converting editor mode, pasting data or calling API.(#1807)
  • Fixed the vulnerability about sanitizer using DOMPurify.(#1813)
  • Fixed that the user cannot add line break in list using shift + enter key.(#1816)
  • Fixed the wrong type definition(@toast-ui/editor/dist/toastui-editor-viewer).(#1853)
  • Fixed that the line breaks are removed when pasting the viewer data to editor.(#1854)
  • Fixed that the user cannot close toolbar popup.(#1855)
  • Fixed that the table head is missing when pasting the table from ms word.(#1857)
  • Added the missing exports(toastui-editor-only.css).(#1946)

[email protected]

27 Oct 07:57
a3030ce
Compare
Choose a tag to compare

Bugfixes

  • Added missing type definition.(#1853)

[email protected]

27 Oct 07:56
a3030ce
Compare
Choose a tag to compare

Bugfixes

  • Fixed that color picker button tooltip didn't use i18n.(#1800)

[email protected]

07 Sep 05:43
Compare
Choose a tag to compare

Features

  • Added autofocus option to control the focus on initial creation of the editor. Thanks for @azmeuk.(#1772)
const editor = new Editor({
  el: document.querySelector('#editor'),
  autofocus: false,
  // ...
});

The default value of the option is true, which automatically focuses the editor.

Bugfixes

  • Fixed that the editor breaks converting when tables have invalid list HTML.(#1780)
  • Fixed that the editor cannot apply empty string attributes to wysiwyg node.(#1781)
  • Fixed that user cannot insert the $$ text due to custom inline syntax.(#1791)
  • Fixed that the editor fails to convert list having blockQuote with spaces to wysiwyg.(#1792)

[email protected]

17 Aug 07:42
Compare
Choose a tag to compare

Bugfixes

  • Fixed wrong selection layer position in table popup body.(#1744)
  • Fixed that the wysiwyg editor contents disappeared in IE11.(#1745)
  • Fixed the toolbar width cannot be adjusted as resizing the container width.(#1747, #1755)

Environment

  • Added wrapper esm bundle.(#1754)
  • Transpiled vue wrapper bundle to es5.(#1754)

[email protected]

05 Aug 01:17
Compare
Choose a tag to compare

Enhancement

Bugfixes

  • Improved the vulnerability of sanitizer(base tag, onload xss).(#1670)
  • Fixed exceeding toolbar popup button width in viewport.(#1671)
  • Fixed internal tag black list operation for sanitizer. Thanks for @z-950 (#1679).
  • Fixed that wysiwyg height option was not operated in table tag.(#1697)
  • Fixed exceeding toolbar popup width in viewport.(#1698)
  • Fixed parsing the br tag is broken.(#1699)
  • Fixed that the internal smart task plugin triggered script error .(#1700)
  • Fixed the wrong escape when converting wysiwyg to markdown.(#1719)
  • Fixed that user cannot import i18n bundle in webpack5 or rollup.(#1720)
  • Fixed broken parsing when removing the blank line in markdown.(#1721)

Environment

  • added github action script for deployment automation.(#1731, #1732)

Document