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

Disappearing drop cap causes jumpy behaviour #11119

Closed
sarahmonster opened this issue Oct 26, 2018 · 2 comments
Closed

Disappearing drop cap causes jumpy behaviour #11119

sarahmonster opened this issue Oct 26, 2018 · 2 comments
Labels
[Block] Paragraph Affects the Paragraph Block [Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Type] Enhancement A suggestion for improvement.
Milestone

Comments

@sarahmonster
Copy link
Member

When switching between editing and writing a paragraph with a drop cap, the drop cap disappears and reappears. This makes things jump around awkwardly:

2018-10-26 15 17 06

When duplicating a block with a drop cap especially, it feels as though it hasn't duplicated properly:

2018-10-26 15 17 24

The end result is, as a new user, feeling that something has gone wrong, or the drop cap has disappeared. I'm assuming that this was an intentional design decision, to make it easier to edit the text, but it might be a worthwhile improvement to see if we can avoid the jumpiness—perhaps by leaving a placeholder space or a slightly greyed-out version of the drop cap to show that it's still there, whilst still allowing the first letter to remain clearly part of the main text for editing purposes?

@sarahmonster sarahmonster added [Type] Enhancement A suggestion for improvement. [Block] Paragraph Affects the Paragraph Block labels Oct 26, 2018
@earnjam earnjam added this to the Future: 5.1 milestone Nov 11, 2018
@mcsf mcsf added [Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... labels Nov 19, 2018
@jpaulin
Copy link

jpaulin commented Nov 27, 2018

I found that in the test-drive version of Gutenberg, I'm using it now on WP hosted (Wordpress dot com hosted (Business plan)) has a bug where drop cap:
a) toggles itself when leaving the block
b) the toggled drop cap doesn't update (ie. is not in sync with) the sidebar control (switch) -- which controls the drop cap behavior on/off

@ellatrix
Copy link
Member

This is a limitation we have with browsers. We cannot leave the drop cap while the user is editing text. See #1189 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Paragraph Affects the Paragraph Block [Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

5 participants