Skip to content
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

Make some text bold or italic #475

Closed
asepmedia opened this issue May 10, 2024 · 2 comments
Closed

Make some text bold or italic #475

asepmedia opened this issue May 10, 2024 · 2 comments

Comments

@asepmedia
Copy link

Screenshot 2024-05-10 235301

How can I use Bold, Text for my Heading / Text Block only for some letters?

Example: This is regular and this is bold and this is italic

Thankyou

@asepmedia
Copy link
Author

temporarily I use the library from https://docs.slatejs.org/libraries/slate-react to edit the text

@chrisvxd
Copy link
Member

@asepmedia you could consider rendering markdown into HTML using something like remark, react-markdown or similar. If you want a rich editing experience, you could implement a custom field type, which it sounds like you're probably already doing via slate-react.

Puck doesn't support an out-of-the-box rich text editor. Some discussion here: #149

@chrisvxd chrisvxd closed this as not planned Won't fix, can't repro, duplicate, stale May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants