Edit text -> save -> images doublicated
See original GitHub issuedjango===1.8.7
djangocms==3.3.3
djangocms-text-ckeditor==3.1.0
django-filer==1.2.6
cmsplugin-filer==1.0.0
After updating the cms (3.2.X --> 3.3.3) and the ckeditor (2.8.1 --> 3.1.0), I’m observing a very strange behavior.
-
The embedded image is no longer recognized as a cmsplugin.
-
When I edit text that has one or more embedded cmsplugin-filer-image plugins, the images are doublicated after saving. Here’s a visual example.
Before editing:
After editing:
In structure mode, however, it says that there is only on image instance:
- When editing the plugin again, only one of the two images behaves like a child image plugin is supposed to.
Here’s the one that does:
And here’s the one that doesn’t:
When I add a fresh instance of a text plugin to the placeholder (on the same page), the described behavior can not be observed. I applies only to text with nested images that existed prior to the updates.
Likewise, when I delete all images from an existing plugin instance, save, then go and add them again, the plugin and images behave as expected again.
Have you come across this yet? Do you have any suggestions on how to tackle this?
Issue Analytics
- State:
- Created 6 years ago
- Comments:44 (15 by maintainers)
Top GitHub Comments
@fsbraun sorry, I used the wrong phrase. I meant “out comment”, not “uncomment” the djangocms bootstrap4. Djangocms bootstrap4 is in the part of the django-cms-quickstart repository, but for reproduction of this issue, I needed to remove it.
Hi peoples,
i’m upgraded to 3.5 version, but dosen’t resolved this problem. Continue to duplicate the images.