-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Documentation]: Display figcaption without HTML tags #4020
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Triage: Open
A new issue or pullrequest that requires triage (added by default)
Type: Documentation
The issue or pullrequest is related to documentation
Comments
So this is how I was able to solve it
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Triage: Open
A new issue or pullrequest that requires triage (added by default)
Type: Documentation
The issue or pullrequest is related to documentation
What’s the URL to the page you’re sending feedback for?
https://tiptap.dev/experiments/figure
What part of the documentation needs improvement?
I have gone through the documentation of the Figure and I want when a user adds an image , that image gets a default figcaption. This figcaption contains links, bold, italics, etc.
What is helpful about that part?
It's really important for the kind of project I'm building
What is hard to understand, missing or misleading?
Because I want to add a default figcaption that already has links, italics, etc, I need to add HTML tags. But adding this tags, I see the tags in the frontend which shouldn't be so.
eg:
<p>Figcaption from <a href="https://tiptap.dev"> @tiptap editor </a> </p>
. The end result should beFigcaption from @tiptap editor
Anything to add? (optional)
This a link to the codesandbox: https://codesandbox.io/p/sandbox/polished-wildflower-98rju0
The text was updated successfully, but these errors were encountered: