plone / plone.app.mosaic

Plone Mosaic main repository
https://pypi.python.org/pypi/plone.app.mosaic
GNU General Public License v2.0
35 stars 26 forks source link

Cannot have more than 1 RichText tile in a mosaic page #511

Closed frapell closed 1 year ago

frapell commented 1 year ago

I've been fighting this issue for a couple of days and cannot figure it out... Steps to reproduce:

  1. Create a site from scratch
  2. Install Mosaic
  3. Create a test page
  4. Assign the Mosaic Layout
  5. Edit -> Customize -> Add 3 "Rich Text" tiles
  6. Save page
  7. Edit the page again

On step 5, all 3 rich text tiles are editable, however, after re-editing the page, only 1 can be edited.

petschki commented 1 year ago

I could not reproduce this here. Same versions. Do you have an info/error in the JS console? I assume, you have checked our mosaic on master because of version 3.0.0b2 ... but thats the same here.

frapell commented 1 year ago

@petschki Oh wow, that's so weird... I've recorded a quick screencast showing the issue on my side, is this not happening for you at all? https://youtu.be/HXWBQwPtMVg

Also, I've noticed for quite some time that the Lorem Ipsum text that comes with the tile gets deleted when placing the tile, which has been happening for quite some time, but not sure if it is an indication of something not working fine

petschki commented 1 year ago

Summary of our Discord chat: The combined language codes cause the issue with rich text tiles TinyMCE editor. Switchint the language to a non-combined language code like en it works. We need to figure out fallbacks for combined language codes which tiny doesn't know about.

frapell commented 1 year ago

I think this is no Mosaic bug, but instead in Mockup. Created a ticket over there, and closing this