-
Notifications
You must be signed in to change notification settings - Fork 907
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
[Bug] TinyMCE Editor Becomes Unresponsive After Moving Items in Repeatable Field #5361
Comments
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. Backpack communication channels:
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. Thank you! -- |
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. |
Hey @h-koba, Thanks for reporting the issue. I can confirm that it's reproducible and thus we will add this to our backlog to be worked on in an upcoming release. If you are able to come up with a PR, we'd be happy to review & merge, too. Cheers |
Thank you, @phpfour. I'm looking forward to the fix in the upcoming release! |
This is fixed already. Sorry we missed to get back here and close this issue. In case the error persist, or you found other error, please open a separate issue. Cheers |
The problem is still here. I'm using PHP VERSION:8.3.6 PHP EXTENSIONS:Core, bcmath, calendar, ctype, date, filter, hash, iconv, json, SPL, pcre, random, readline, Reflection, session, standard, mysqlnd, tokenizer, zlib, libxml, dom, PDO, bz2, SimpleXML, xml, wddx, xmlreader, xmlwriter, mbstring, igbinary, openssl, sockets, Phar, curl, LARAVEL VERSION:10.48.22.0 BACKPACK PACKAGE VERSIONS:backpack/backupmanager: v5.0.5 |
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: