fix(quill): don't go beyond container for bubble (#17475)
Container uses bubble type quill editor, options for which seem to spill out and hide behind the commend container. This fixes the UI glitch. ref: https://quilljs.com/docs/configuration/#bounds
This commit is contained in:
parent
4671460b65
commit
9530c90c09
1 changed files with 1 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ frappe.ui.form.ControlComment = class ControlComment extends frappe.ui.form.Cont
|
|||
const options = super.get_quill_options();
|
||||
return Object.assign(options, {
|
||||
theme: 'bubble',
|
||||
bounds: this.quill_container[0],
|
||||
modules: Object.assign(options.modules, {
|
||||
mention: this.get_mention_options()
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue