slab / quill

Quill is a modern WYSIWYG editor built for compatibility and extensibility
https://quilljs.com
BSD 3-Clause "New" or "Revised" License
42.3k stars 3.31k forks source link

The toolbar: false option is not working as expected #4253

Open ktrz290 opened 3 weeks ago

ktrz290 commented 3 weeks ago
this.modules = {
  toolbar: false,
  mention: {
    allowedChars: /^.*$/,
    mentionDenotationChars: this.mentionDenotationChars,
    showDenotationChar: false,
    spaceAfterInsert: true,
    ......
}

The above is my modules configuration. When I do toolbar as false since I just want the simple editor it is breaking and not working as expected. In the previous version it is working as expected. However, the toolbar true is working fine.

Can somebody please help? Has the configuration changed and do I need to do anything differently to achieve an editor without toolbar?

Expected behavior: Setting toolbar as false should give an editor without toolbar options.

expected

Actual behavior: Setting toolbar as false gives a distorted editor.

toolbar false

Platforms: Chrome, Windows, quill version 2.0.2

Version: 2.0.2