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

emanuelbsilva picture emanuelbsilva  路  3Comments

rsdrsd picture rsdrsd  路  3Comments

lastmjs picture lastmjs  路  3Comments

aletorrado picture aletorrado  路  3Comments

scottfr picture scottfr  路  3Comments