Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Page breaks when selecting Markdown as language #25

Open
3 of 7 tasks
veyxos opened this issue Dec 4, 2024 · 0 comments · May be fixed by #26
Open
3 of 7 tasks

Page breaks when selecting Markdown as language #25

veyxos opened this issue Dec 4, 2024 · 0 comments · May be fixed by #26

Comments

@veyxos
Copy link

veyxos commented Dec 4, 2024

Considere que você não precisa ter acesso de escrita aos repositórios da PloneGov-Br para criar um "pull request", relatar um problema, ou fazer perguntas.

Confirmo que

Projetos eu pretendo auxiliar:

  • PortalBrasil.edu
  • PortalBrasil.gov
  • PortalBrasil.jus
  • PortalBrasil.leg
  • Outros

My motivation

Currently the default configuration for the Volto Code Block is broken in that the page breaks with a The language "undefined" has no grammar. error when Markdown is selected as the language for the block.

This happens because the language object that is accessed in line 96 of the addon's index.js does not include the key markdown because prism-markdown was not imported.

...

Gracias!
Thank you!

@veyxos veyxos linked a pull request Dec 4, 2024 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant