mosaico icon indicating copy to clipboard operation
mosaico copied to clipboard

Color tray going outside the screen

Open CaptainHypertext opened this issue 6 years ago • 3 comments

I had someone complain about this, the color tray goes off the screen if it's too close to the bottom: Screenshot of color tray going off the screen

Then I looked at the demo on mosaico.io and noticed the color option isn't even available: Mosaico color menu is different than what I have

I just updated Mosaico today, how come color is in the Formats menu in the demo but in the menu bar in my version?

CaptainHypertext avatar Apr 25 '18 18:04 CaptainHypertext

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.

bago avatar Apr 30 '18 16:04 bago

It looks like the current version of TinyMCE does this, at least the demo on their site does:

tinymce color

I'll have to look into it more when I have time. If I figure it out, I'll send it in.

CaptainHypertext avatar Apr 30 '18 18:04 CaptainHypertext

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).

bago avatar May 02 '18 09:05 bago