Skip to content

editor@3.1.0

Compare
Choose a tag to compare
@js87zz js87zz released this 07 Sep 05:43
· 175 commits to master since this release

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)