insert new link with autocomplete
This commit is contained in:
@@ -64,6 +64,7 @@ export default defineComponent({
|
||||
'input',
|
||||
'update:modelValue',
|
||||
'click',
|
||||
'editorReady',
|
||||
'contextedLinkAutocomplete',
|
||||
'contextedKeypress',
|
||||
],
|
||||
@@ -182,6 +183,7 @@ export default defineComponent({
|
||||
methods: {
|
||||
setUpEditorEvents() {
|
||||
const editor = this.instance!
|
||||
this.$emit('editorReady', editor)
|
||||
|
||||
// Use the leading edge so the first event in the series is emitted immediately.
|
||||
// Failing to do so leads to race conditions, for instance, when the component modelValue
|
||||
|
||||
Reference in New Issue
Block a user