mohamedsabil83 / filament-forms-tinyeditor

A TinyMce Editor component for filament
MIT License
182 stars 40 forks source link

We can not edit the source code in popup #22

Closed nchatzidakis closed 2 years ago

nchatzidakis commented 2 years ago

Hello,

we added the plugin code (in plugins and toolbar config - default profile).

Although the button appeared and we are able to click it, in the popup we are unable to edit the source code. It seems like a css bug.

mohamedsabil83 commented 2 years ago

It's a good practice to provide a code and/or screenshot to trying re-implement the issue.

In general, for additional plugins, you have to check the TinyMce Docs about how to set the plugin and if it needs extra files to add to your project.

nchatzidakis commented 2 years ago

After some debugging, I noticed that although it works fine when editing a resource, it has issues when editing relations.

In my case, I have a VehicleResource that connects to many VehicleLocaleResource, the tinymce textarea is in VehicleLocaleResource.

So when I edit the VehicleLocaleResource from the VehicleResource page, the popup is not working. I will share some code.

mohamedsabil83 commented 2 years ago

If you still have this issue we can re-open it