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

Markdown does not function fully anymore #6131

Closed
Catherine358 opened this issue Jun 27, 2024 · 3 comments
Closed

Markdown does not function fully anymore #6131

Catherine358 opened this issue Jun 27, 2024 · 3 comments

Comments

@Catherine358
Copy link

Describe the bug
When user tries to use markdown in volto text editor, for example to write "# Some title", "#" symbol disappears, but text stays to be usual text (p element). However in toolbar buttons text is marked as being "Title" (h2 element). Same behavior can be seen for Subtitle and block quote. Bold and italic texts do not work at all. But unordered and ordered lists do work fine.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Edit Mode.
  2. Add text field.
  3. Write "# Text"
  4. Save

Expected behavior
Markdown works. When user types "# Title", he sees h2 element without "#" symbol instead of usual text. When user types "## Subtitle", he sees h3 element without "##" symbol instead of usual text. When user types "> some text", he sees blockquote element without ">" symbol instead of usual text. When user types "Text", he sees bold text without "**" symbol. When user types "Text", he sees italic text without "*" symbol.

Screenshots

vokoscreenNG-2024-06-27_14-06-10.mp4

Software (please complete the following information):

  • macOS
  • Chrome
  • Volto Version 17.16.0
  • Plone 6.0.11
  • plone.restapi 9.6.1

I have found this fix and maybe it is connected to it and will be fixed there #5495

@stevepiercy
Copy link
Collaborator

@Catherine358 #5495 resolved issue #5452, was applied to the main branch of Volto, and released in https://github.com/plone/volto/releases/tag/plone-slate-18.0.0-alpha.14.

It was not backported to Volto 17.

We'd accept a pull request that backports the fix to Volto 17. Would you like to contribute?

@Catherine358
Copy link
Author

@stevepiercy Great! Thank you very much for the info :)

@ichim-david
Copy link
Member

@Catherine358 Fixed by Volto 17.18.1 release c449e14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants