quasar-tiptap icon indicating copy to clipboard operation
quasar-tiptap copied to clipboard

Question: possible to dynamically 'attach' the editor to different containers?

Open Zireael opened this issue 4 years ago • 0 comments

Hi, I have a table with cells containing text that I want to allow be edited using WYSIWYG. Is it possible to include the q-tiptap component once on the page and then dynamically set the container it is watching/editing? Goin through q-tiptap props I didn't see one for attaching to a container elsewhere on page by $ref or #Id. tableCell.onFocus -> attach to q-tiptap tableCell.onBlur -> detach from q-tiptap

I'd prefer this way than initializing q-tiptap inside every table cell slot.

I'd appreciate your advice!

Zireael avatar May 15 '20 11:05 Zireael