code block language dropdown missing #942
Answered
by
Saul-Mirone
knownasilya
asked this question in
Q&A
-
Upgrading to v7 with nord + prism seems to have removed the change language dropdown for code blocks. Was this intentional? Is there a way to get this back? |
Beta Was this translation helpful? Give feedback.
Answered by
Saul-Mirone
Mar 20, 2023
Replies: 1 comment 4 replies
-
Use a node view to do that. See how I implement it in https://github.com/Milkdown/website/blob/main/src/component/Playground/EditorComponent/CodeBlock.tsx |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
knownasilya
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use a node view to do that. See how I implement it in https://github.com/Milkdown/website/blob/main/src/component/Playground/EditorComponent/CodeBlock.tsx