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

Improve handling of Markdown edge cases #24

Open
fleven-kds opened this issue Nov 8, 2024 · 1 comment
Open

Improve handling of Markdown edge cases #24

fleven-kds opened this issue Nov 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@fleven-kds
Copy link
Contributor

fleven-kds commented Nov 8, 2024

Markdown allows for some formatting issues within components. For example, it is possible to insert <p> tags within headlines by using a line break in Markdown.

@fleven-kds fleven-kds added the bug Something isn't working label Nov 8, 2024
@julrich julrich changed the title Improve handling of Markdown Trash Improve handling of Markdown edge cases Dec 5, 2024
@julrich
Copy link
Member

julrich commented Dec 5, 2024

We should be able to fine-tune this by using the following configuration option "Customize toolbar" for Markdown field types in Storyblok:
https://www.storyblok.com/docs/schema-configuration#markdown

But I guess the actually available options for Markdown fields would vary across different uses (e.g. <p> not allowed in Headline text, but being totally fine and needed in longer text in the Text or Image Text components). Maybe need to introduce another x-cms- option for this.

@julrich julrich transferred this issue from kickstartDS/storyblok-starter-premium Dec 5, 2024
@julrich julrich moved this to Backlog in CMS Starter Storyblok Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

2 participants