I’m using f7 + vue (v5.0.4) on an existing project that was upgraded from v4.
I straight up copied the example codes from https://framework7.io/vue/text-editor.html but none of the events (@texteditor:input/change/focus/etc) are triggering.
The texteditor itself is working.
Here’s the code that I’m trying to get it to work:
template
<f7-list>
<f7-list-input
floating-label
resizable
type="texteditor"
input-id="custom-page-content"
label="Page content"
:value="page.content"
:textEditorParams="textEditorParams"
@texteditor:input="onPageContentInput"
></f7-list-input>
</f7-list>
method onPageContentInput
onPageContentInput(e) {
this.page.content = e;
}
computed textEditorParams
textEditorParams() {
return {
mode: 'keyboard-toolbar',
buttons: [
['bold', 'italic', 'underline', 'strikeThrough'],
['orderedList', 'unorderedList'],
['link', 'image'],
['paragraph', 'h1', 'h2', 'h3'],
]
}
}
Any ideas why this might be happening?