filament-forms-tinyeditor
filament-forms-tinyeditor copied to clipboard
GET http://www.project.local/admin/blocks/1/ net::ERR_ABORTED 500 (Internal Server Error)
It tried to make a GET call every time I load the page. Is that normal?
You didn't provide any details and screenshots to check if that issue came from the package or related to something else
Sorry: My URL is: http://www.commerce.local/admin/blocks/1/edit
This is the screenshot: https://gyazo.com/594868e29bae80a474b79986728a5f4b
My code:
TinyEditor::make('contents')
->showMenuBar()
->columnSpan(4)
It's a local URL not displayed for me. Also, the returned error message was not helpful.
- Did you follow the installation correctly?
- If you didn't publish the assets, do it.
Yes, I installed it correctly, and I even forced the publishing.
The line causing the issue is this one:
content_css: this.skin === 'dark' ? 'dark' : '',
That empty value is causing the unneeded GET request
Did you enable dark mode? if not, enable it and check if the issue is gone
Enable where? Filament or your package? In your package I don't see how to enable it. In Filament it's enabled.
Yes, I mean in Filament. Don't know why the line you mentioned before caused the issue. I tried to re-implement the issue but all works fine.