mosaico
mosaico copied to clipboard
Color tray going outside the screen
I had someone complain about this, the color tray goes off the screen if it's too close to the bottom:
Then I looked at the demo on mosaico.io and noticed the color option isn't even available:
I just updated Mosaico today, how come color is in the Formats menu in the demo but in the menu bar in my version?
Mosaico.io demo uses custom configuration for tinymce. The popup you talk about is a TinyMCE popup. I don't know if there is a configuration to let the popup open upside when there is no space downside, like we do with our own colorpicker.
Contributions are welcome.
It looks like the current version of TinyMCE does this, at least the demo on their site does:
I'll have to look into it more when I have time. If I figure it out, I'll send it in.
We use tinymce in "inline mode": the demo of the screenshot is not from the inline mode. Inline mode doesn't even care about making sure the toolbar itself is visible, so I don't expect they deal with colorpicker positions, but I didn't test this on the latest version because it didn't work fine (we had to stick to 4.5.x because 4.7 have bugs that we reported and have not been fixed, e.g: #429).