[Enhancement] - For editor component #1050
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Hello,
Is it possible to include into the editor component emit event "text-change" also the instance of quill "this.quill".
It could be great to have also the instance, it avoid to add an extra "id" attribute to the component and after add this "id" value into the "v-on:text-change" as parameter.
Right now i'm doint like that:
<p-editor id="quill_A" v-model="data.e_value1" editorStyle="height: 120px" v-on:text-change="this.quillTextChange($event,'quill_A')"/>
and after i have into the function "quillTextChange(event,id)":
document.querySelector("#" + id + " .p-editor-content").__quill
to get the instance.
By the way thanks of for this great work.
The text was updated successfully, but these errors were encountered: