You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am utilizing the TinyMCE editor within a repeatable field in Laravel Backpack. When I tried to change the order of items within the repeatable field by moving an item, the TinyMCE editor within the moved field became unresponsive.
What I expected to happen
I expected the TinyMCE editor to continue functioning normally, allowing text editing even after moving items within the repeatable field.
What happened
After moving an item within the repeatable field, the TinyMCE editor in the moved field became unresponsive and I was unable to edit text within it.
Is it a bug in the latest version of Backpack?
After I run composer update backpack/pro the bug... is it still there?
Yes, the bug is still present after updating.
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:
Hello there! Thanks for opening your first issue on this repo!
Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that.
Long questions (I have done X and Y and it won't do Z wtf) - Stackoverflow, using the backpack-for-laravel tag;
Showing off something you've made, asking for opinion on Backpack/Laravel matters - Reddit;
Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch.
I noticed the same problem on my side using TinyMCE in repeatable fields and changing the order.
I think that the instance of the TinyMCE object is based on a reference to the DOM which is lost following the change of order in the repeatable. I didn't really investigate the problem because I quickly changed editors to summernote.
Bug report
What I did
I am utilizing the TinyMCE editor within a repeatable field in Laravel Backpack. When I tried to change the order of items within the repeatable field by moving an item, the TinyMCE editor within the moved field became unresponsive.
What I expected to happen
I expected the TinyMCE editor to continue functioning normally, allowing text editing even after moving items within the repeatable field.
What happened
After moving an item within the repeatable field, the TinyMCE editor in the moved field became unresponsive and I was unable to edit text within it.
Is it a bug in the latest version of Backpack?
After I run
composer update backpack/pro
the bug... is it still there?Yes, the bug is still present after updating.
Backpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is:The text was updated successfully, but these errors were encountered: