yikoyu / vuetify-pro-tiptap

A Rich Text Editor (WYSIWYG) for Vue3 with tiptap & Vuetify.
https://yikoyu.github.io/vuetify-pro-tiptap/
MIT License
179 stars 25 forks source link

feat(expose editor object): defineExpose editor #183

Closed kissmannchristoph closed 1 year ago

kissmannchristoph commented 1 year ago

this change is because i need the getText and other functions from the editor or do you know another solution?

yikoyu commented 1 year ago

What do you think of this? https://github.com/yikoyu/vuetify-pro-tiptap/blob/153fdedf59805bcd6ce43f2b05f2ee223f608ee6/src/components/VuetifyTiptap.vue#L22

feat-output

kissmannchristoph commented 1 year ago

yes this can be a solution, but i need html and text. text for diff and html as content

yikoyu commented 1 year ago

https://github.com/yikoyu/vuetify-pro-tiptap/blob/2c069cdc2fd6699ef1fc259507f47cf67fe35860/src/components/VuetifyTiptap.vue#L98

add emit change

kissmannchristoph commented 1 year ago

you added this now? how long takes the new release?

yikoyu commented 1 year ago

https://github.com/yikoyu/vuetify-pro-tiptap/pull/184

v2.2.0 has been released