-
-
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
Improve placeholder behaviour when ui element is present #4114
Comments
Should it? Where will be those UIElements rendered then? My guess is on the right hand side of the placeholder because it's rendered with Couldn't you hide your UIElements using CSS when content has the |
Yes, of course, we have to change
No, because it is not correct. |
OK, I get it now. You wouldn't be able to hide those markers anyway because the But once it will stop being removed if there are any markers in the view I'd propose to hide them anyway. Then, you won't need to change |
This is more difficult than I initially thought. Things to consider:
I also tried another route with: .ck-placeholder [data-cke-filler] {
display: none;
} But it also didn't seem like a good solution. UI element was rendered after bogus br and was moved to the next line. If I changed |
We can take easy path with what you suggested, @Reinmar, but it is not really correct. I can imagine a need to use (and display) UI element in an empty element (for example some kind of button). |
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
We've closed your issue due to inactivity over the last year. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it). |
At the moment, placeholder is removed when there is a
view.UIElement
present in the element that has the placeholder. This is not really correct, asUIElement
is not data. Most of time it will be some tiny graphical indicator like a dot, arrow, line, etc. Placeholder should be preserved in such situation.The text was updated successfully, but these errors were encountered: