Archived topic
I need more type size controls in the block editor
1 reply · Started by Earl on October 10, 2019
I have a Gutenberg editor question. I hope it’s within the scope of your support. (I really LIKE your support!)
In a paragraph block, I would like to be able to select some text but be able to apply additional font controls beyond the simple ones (Bold, Italic, Underline) available in the block editor.
Specifically, I’d like to be able to also change the font size of the selected text in addition to making it bold. What I’m trying to achieve is like a heading, but without having to use a separate heading block.
Hi there,
you would need to use a HTML Block. And add some span tags to the content you wish to restyle
Example HTML:
<p>This is the normal text content <span class="highlighted-text">and i am some highlighted text </span> and we're back to normal text</p>
Then you can use the highlighted-text class to style it.