Closed jlpellicer closed 2 months ago
I tried the latest plugin on my local and it worked for me. I'm really sorry, but you'll have to debug it to find the issue.
@jlpellicer - Hi, did you get to the bottom of this? I'm seeing the same behaviour.
No, sorry @errnerr, I just went back to Filament's RichEditor
Hey @jlpellicer @errnerr,
There were some updates in the latest rich editor from filament.
I've made some changes that might fix your issue.
Check the commit for details: https://github.com/askerakbar/gpt-trix-editor/commit/5ce54a68603f3bc4669fccb238e6cee1faea2442
You'll need to either remove and reinstall the whole pacakge or manually update the following files with the changes from commit:
public/js/askerakbar/gpt-trix-editor/components/gpt-trix-editor.js
vendor/askerakbar/gpt-trix-editor/resources/views/trix-editor.blade.php
Amazing! Thank you @askerakbar That has fixed the issue for me.
I have a database with a column named description. I am using Filamentphp TextArea to display and edit it. When I use gpt-trix-editor, it shows the data on view, but when I edit the record it doesn't load the description. No errors, just doesn't display the existing description. Nothing fancy:
Config file as is, no modifications:
Filamentphp v3.2.105 PHP 8.2.22 Laravel 11.21
Hope you can help. Thank you