Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fullscreen not working properly #10

Open
partenit opened this issue May 8, 2024 · 1 comment
Open

Fullscreen not working properly #10

partenit opened this issue May 8, 2024 · 1 comment

Comments

@partenit
Copy link

partenit commented May 8, 2024

Bug description

  1. not expanded on fullscreen
  2. sidebar controls present above textarea
image

Steps to reproduce

press fullscreen button in tinymce toolbar or menu

Environment and versions

statamic 4.57.0
statamic-tinymce-cloud 2.1.3

Additional details

No response

@martyf
Copy link
Collaborator

martyf commented May 8, 2024

I feel this is something that doesn't have an easy fix. Statamic's CP has lots of relative containers, and when trying to position to be full screen, it can't break outside those.

Different browsers exhibit different behaviours too - Firefox is different to how it appears in Webkit-based browsers.

Bard gets around this by creating a portal and sending it to there: but that's outside of the scope of what this addon is doing - it is designed to get Tiny Cloud in to Statamic - but not change or add to its functionality. A custom full screen plugin would need to be written that does more manipulation on the parent containers within Statamic when enabling/disabling.

Unless you have another idea to resolve the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants