Releases: nhn/tui.editor
Releases · nhn/tui.editor
[email protected]
[email protected]
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 usinguseCommandShortcut
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]
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 markdowntab
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]
[email protected]
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]
Bugfixes
- Added missing type definition.(#1853)
[email protected]
Bugfixes
- Fixed that color picker button tooltip didn't use i18n.(#1800)
[email protected]
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]
[email protected]
Enhancement
- Improved the translation of the Russian. Thanks for @grimalschi (#1685)
- Added aria attributes to editor component. Thanks for @lucaslcode (#1696)
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
Document
- Fixed the typo in READMd.md. Thanks for @knightwolfjk (#1713).