-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Text alternative leaks to the browser's window after pasting a lot of content to the balloon #752
Comments
WUT... So weird :D |
cc @oleq |
This is a so-called fake selection container. We need to use it to store the real selection when a widget is selected (because the browser would not allow selecting such elements). However, it should never get any data. Especially not if another input is selected. It sounds like a browser bug. OTOH, it's a complete edge case to paste that much content into a link URL input. It might only happen by accident, in fact. As a kind of bulletproofing fake selection container's implementation we can add listeners to stuff like |
Considering the above, I think the easiest (and the fastest) solution is limiting FSC's width. I checked and |
Fix: The fake selection container will not leak into the viewport. Closes ckeditor/ckeditor5#752.
🐞 Is this a bug report or feature request? (choose one)
💻 Version of CKEditor
1.0.0-alpha2
📋 Steps to reproduce
Save
.✅ Expected result
Text alternative is visible only inside the balloon's input.
❎ Actual result
Some part of the text alternative has appeared at the top of the browser
📃 Other details that might be useful
Notes
GIF
Other information
OS: Windows 10, MacOS X
Browser: All browsers
The text was updated successfully, but these errors were encountered: