Replies: 1 comment
-
Here you can find a good example with a command that opens a modal with the built-in code viewer element |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to implement an export function where I open a modal with a Code Viewer containing the HTML and CSS bundled into one file. I was trying, with the use of ChatGPT and GitHub Copilot, to create a function that does that with the following result:
Opening a Modal wasn't the problem, but is it possible to use GrapeJS own Code Viewer (CodeMirror) to show custom outputs?
In Addition to that, the console logs the following error:
Beta Was this translation helpful? Give feedback.
All reactions