@seanupton recently put a lot of effort into plone.app.widgets 1.x (https://github.com/plone/plone.app.widgets/pull/144).
this made us give plone.app.widgets 1.x in plone4.3 another spin.
for sites with existing content (especially for images inserted into richtextfields) some migration has to be done:
the markup for images in richtext fields changed from Tiny3 (Products.TinyMCE) to tinymce4 (plone.app.widgets 1.x)
-
image inserted with Products.TinyMCE look like this:
<img class="image-inline" src="resolveuid/f5ec83e6905247b99b258eaff3d140ee/@@images/image/preview" />
-
tinymce4 image dialog (shipped with plone.app.widgets) expect's this:
<img class="image-inline" src="resolveuid/f5ec83e6905247b99b258eaff3d140ee/@@images/image/preview" data-linktype="image" data-scale="preview" data-val="f5ec83e6905247b99b258eaff3d140ee" />
i wonder if people migrating from plone4 to plone5 do not have the same problems.
we did not find any migration routine that looks like it's handling this case in plone.app.upgrade
.
is this something that needs to be added to plone5 migrations, or did we overlook something and there is code handling this already?