fix: Suppress unwanted quill warnings
This commit is contained in:
parent
2cb9f22e53
commit
83124d8eee
4 changed files with 4 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import Quill from 'quill';
|
||||
import Mention from './quill-mention/quill.mention';
|
||||
|
||||
Quill.register('modules/mention', Mention);
|
||||
Quill.register('modules/mention', Mention, true);
|
||||
|
||||
frappe.ui.form.ControlComment = frappe.ui.form.ControlTextEditor.extend({
|
||||
make_wrapper() {
|
||||
|
|
|
|||
|
|
@ -35,4 +35,4 @@ MentionBlot.blotName = 'mention';
|
|||
MentionBlot.tagName = 'span';
|
||||
MentionBlot.className = 'mention';
|
||||
|
||||
Quill.register(MentionBlot);
|
||||
Quill.register(MentionBlot, true);
|
||||
|
|
|
|||
|
|
@ -361,6 +361,6 @@ class Mention {
|
|||
}
|
||||
}
|
||||
|
||||
Quill.register('modules/mention', Mention);
|
||||
Quill.register('modules/mention', Mention, true);
|
||||
|
||||
export default Mention;
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ class MyLink extends Link {
|
|||
}
|
||||
}
|
||||
|
||||
Quill.register(MyLink);
|
||||
Quill.register(MyLink, true);
|
||||
|
||||
// image uploader
|
||||
const Uploader = Quill.import('modules/uploader');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue