Adding Caption Placeholder for Custom Image Plugin #5706
Replies: 1 comment
-
I've managed to find a solution on my own. Apologize for any inconvenience! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on a custom Image plugin for Tiptap to integrate with my website's image upload functionality. I've encountered an issue with implementing a placeholder for the image caption, and I would greatly appreciate any guidance or suggestions.
Current Implementation
I'm using a custom NodeView for my image component:
Issue
Caption Placeholder: I would like to display a placeholder or editing hint when the caption is empty. Is there a way to achieve this within the Tiptap framework?
Question
Are there any straightforward solutions to implement a placeholder for the image caption when it's empty? If so, how would you recommend approaching this?
Any insights or recommendations would be greatly appreciated. Thank you in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions