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

Text-styling options for a selection within a block #7131

Closed
hansschuijff opened this issue Jun 4, 2018 · 1 comment
Closed

Text-styling options for a selection within a block #7131

hansschuijff opened this issue Jun 4, 2018 · 1 comment
Labels
Backwards Compatibility Issues or PRs that impact backwards compatability [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Enhancement A suggestion for improvement.

Comments

@hansschuijff
Copy link

Is your feature request related to a problem? Please describe.
When working with text within a paragraph, users sometimes want the ability to change the presentation of some text within the paragraph. I'm thinking f.i. color, font-size, underline, sub-script/super-script, inline block kind of things. In the previous editor one could select a (number of) letters or words and use the tools to change the selection only. Now such features are reserved mainly for the block as a whole.

Describe the solution you'd like
What I would like is to have more font-related options in the tool-tip above the paragraph-block or a separate tool-bar above a text-selection, with options that apply to the selection. Right now the tools contains both options for the block as a whole (text-alignment) or a selection (bold/italic/del), but bold, italic and del seem to be the only options that can be applied to a selected text and that seems quite limited.

Any setting that can be relevant on a letter by letter in stead of forming a new block might be in the toolbar. For instance: How can I mark part of a sentence as being code? Can I change fonts-attributes on a selection or even the font itself? Making a word red and large to have it stand out, making m2 looking like m-square (2 in superscript), or being just a bit creative with text-presentation? The toolbar in the mce-editor had some options that aren't yet in Gutenberg (or moved to the block-level), so perhaps there's a source for ideas?

I could imagine having the tools-tip above the paragraph being used only for font-related options, so they could all be used on a selection or set as a property to be used on new text. In that case the alignment (right, center, left) should be part of the block settings in the sidebar, where they probably would be more amongst their pierce. But if they are used so much that they have earned their place on the above tooltip, perhaps they should be also visually separated from the options that are not on blocklevel but on text-level.

Describe alternatives you've considered
Any alternative that doesn't expect me to code html+css is fine. Only he end-result counts.

@mcsf
Copy link
Contributor

mcsf commented Jul 19, 2018

Closing in favor of #3688

@mcsf mcsf closed this as completed Jul 19, 2018
@designsimply designsimply added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backwards Compatibility Issues or PRs that impact backwards compatability [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants