File tree Expand file tree Collapse file tree
src/components/inline-tools Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3+ ### 2.31.4
4+
5+ - ` Fix ` - Prevent inline-toolbar re-renders when linked text is selected
6+
37### 2.31.3
48
59- ` Fix ` - Prevent text formatting removal when applying link
Original file line number Diff line number Diff line change 11{
22 "name" : " @editorjs/editorjs" ,
3- "version" : " 2.31.3 " ,
3+ "version" : " 2.31.4 " ,
44 "description" : " Editor.js — open source block-style WYSIWYG editor with JSON output" ,
55 "main" : " dist/editorjs.umd.js" ,
66 "module" : " dist/editorjs.mjs" ,
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ export default class LinkInlineTool implements InlineTool {
212212 */
213213 const hrefAttr = anchorTag . getAttribute ( 'href' ) ;
214214
215- this . nodes . input . value = hrefAttr !== 'null' ? hrefAttr : '' ;
215+ this . nodes . input . defaultValue = hrefAttr !== 'null' ? hrefAttr : '' ;
216216
217217 this . selection . save ( ) ;
218218 } else {
You can’t perform that action at this time.
0 commit comments