-
Notifications
You must be signed in to change notification settings - Fork 103
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
Admin page > Empty code editor #559
Comments
Hey @jeryldev do you see any error on your browser console? |
Sorry for the delay @leandrocp . Here are the errors I saw in the console: |
Thanks. The problem here is missing CSP rules to allow loading the monaco editor assets from the jsdelivr cdn. |
To be clear, those rules should be documented in https://github.com/BeaconCMS/live_monaco_editor and defined in beacon_live_admin so you don't need to do take any action in your project. I'm looking into that. |
Thank you! I'm looking forward to it. 💯 |
Could you please give this a try? BeaconCMS/beacon_live_admin#191 You can clone the beacon_live_admin with that branch repo and change your project mix.exs: {:beacon_live_admin, path: "/path/to/beacon_live_admin"} |
How your mix.exs looks like? (only beacon and beacon_live_admin definitions)? |
Here's how my deps looked like:
|
@jeryldev are you still experiencing this issue on beacon |
Problem
The Code Editor is empty even though the server is running fine. Also, I don't know if this is related or not but the Visual Editor gets an overlay once I hover the mouse cursor to the Components section (left panel).
Additional Information
uname
Linuxuname -r
5.15.153.1-microsoft-standard-WSL2Screen Recording
Recording.2024-07-21.093217.mp4
The text was updated successfully, but these errors were encountered: