how to display tiptap placeholder in typescript-react project? #1591
Unanswered
ashrithapb
asked this question in
Questions & Help
Replies: 1 comment
-
Think I had a similar issue. What I did eventually was to remove the is-editor-empty class selector. Anyways, when you start adding content, the placeholder paragraph disappears, so this class selector doesn't seem to be having any effect |
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
-
Hi,
In my typescript-react project, I am following https://www.tiptap.dev/api/extensions/placeholder to display the placeholder.
On inspecting the webpage, I see the following html elements:
But the following css styles are not reflecting on the webpage and hence I am not able to see the placeholder value on the screen:
Any solution/suggestions would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions