Quill: Use key Enter to submit instead of Ctrl + Enter

Created on 2 Nov 2017  路  2Comments  路  Source: quilljs/quill

In Quill default, Ctrl Enter is submit an editor block or do anyevent. But I want to use key Enter to submit instead of Ctrl + Enter. How can I fix this. I use VueJS and package Vue Quill Editor: https://github.com/surmon-china/vue-quill-editor/

Most helpful comment

Did not work, there is a "handleEnter" function which prevents use of any added later handlers of Enter

All 2 comments

You can add key bindings:
https://quilljs.com/docs/modules/keyboard/

Did not work, there is a "handleEnter" function which prevents use of any added later handlers of Enter

Was this page helpful?
0 / 5 - 0 ratings

Related issues

splacentino picture splacentino  路  3Comments

Kivylius picture Kivylius  路  3Comments

kheraud picture kheraud  路  3Comments

Softvision-MariusComan picture Softvision-MariusComan  路  3Comments

rsdrsd picture rsdrsd  路  3Comments