You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unsure what the best way would be to catch only inserting new attachments. @max-nextcloud Any idea on how we could check that? I don't see any hooks for tiptap node or node views that would only trigger on first creation. Maybe we can override the setImage command and pass a non-persited flag to focus once?
Describe the bug
When loading an existing file that contains images the focus jumps to the alt text input
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The cursor is at the beginning
Actual behaviour
The cursor is in the alt text of the image
Additional context
This seems like a side effect of #6609
I'm unsure what the best way would be to catch only inserting new attachments. @max-nextcloud Any idea on how we could check that? I don't see any hooks for tiptap node or node views that would only trigger on first creation. Maybe we can override the setImage command and pass a non-persited flag to focus once?
cc @JuliaKirschenheuter
The text was updated successfully, but these errors were encountered: