Answer the question
In order to leave comments, you need to log in
How to execute only once?
Has a text editor
<editor
v-model="text"
api-key="hkavs2b84i3jpj2k5ow7zmbj6lydkahcgg6cvp993ao0pl3h"
:plugins="editorPlugins"
:toolbar="editorToolbar"
:init="editorInit"
@input="returnValue"
/>
function returnValue(data: any) {
emit('input', data)
setTimeout(() => {
emit('redit', data)
}, 60000)
}
Answer the question
In order to leave comments, you need to log in
It is not clear what the editor component is, but https://ru.vuejs.org/v2/guide/forms.html#lazy may help to the original input, or bind to the change event, not input. You need to look at the API of the component.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question