vikunja icon indicating copy to clipboard operation
vikunja copied to clipboard

feat: mini tiptap improvements

Open dpschen opened this issue 8 months ago • 1 comments

The TipTap editor now uses Vue’s defineModel for its reactive value, simplifies editability control with watchEffect, and correctly types DOM image elements.

Summary

Imported watchEffect and switched to defineModel for the editor’s v-model, removing the old update:modelValue emit

Typed the retrieved image element as HTMLImageElement and removed debugging output from the paste handler

Replaced the watcher controlling editability with a simpler watchEffect and updated model handling to use the new model ref

dpschen avatar Jun 04 '25 11:06 dpschen

Frontend tests seem to fail now

Rebase error… Will check again

dpschen avatar Jun 05 '25 15:06 dpschen