Closed grasshoppermouse closed 5 years ago
I can’t reproduce the issue, even with exactly the same blocks as you.
Could you tell me the following?
DEBUG = True
, DEBUG = False
, or both?wagtail 2.4 wagtail-react-streamfield 1.1.0 DEBUG: True or False It happens using drag-and-drop or arrows
It doesn't happen for the top levels blocks, but it does happen for the carousel.
Here is a screencast:
Mmm, weird, I still can’t reproduce it. Could you force refresh the browser cache with ctrl+F5 (on Linux/Windows) and retry?
I did "Empty Caches" in the Safari Development menu (which fixed the last problem I had). But it doesn't fix this issue. Also tried it in Chrome after clearing the cache, and again, the problem is still there.
I see something weird in your screencast though. Your duplicate icon doesn’t work, it’s a square floating on the right. This shouldn’t be, there is a new icon I added to the Wagtail font. could you see if there is an error in the developer console, please?
Could you try again with 1.1.1 please?
Tried it with 1.1.1 after cleaning cache; problem is still there. No errors in javascript console. Duplicate icon is still a square in Chrome, but now floating to the left of the trashcan. It's to the left but now invisible in Safari.
Could you try again with version 1.2.0 please?
It's working now. Thanks!
I have the following stream field:
When I reorder the top-level blocks (e.g., heading or paragraph) via drag-and-drop or arrows, and then Publish, the reordering is preserved. However, when I reorder the images in the image_carousel, the reordering is not preserved on Publish.
However, when I use the standard wagtail admin (no react-streamfield), it works fine, and reordering is preserved at all levels.
Any ideas?