block-lab icon indicating copy to clipboard operation
block-lab copied to clipboard

Feature request: Extended formatting in rich text

Open zaewin opened this issue 6 years ago • 5 comments

It would be nice to be able to have some more features in the rich text. For example:

  • CSS class picker
  • Heading tag picker (h1, h2, h3 etc)

Another option would be to allow switching between normal and html mode. Sometimes we want to tweak the markup.

zaewin avatar Nov 27 '19 15:11 zaewin

Thanks

Hi @zaewin, Thanks for bringing this up.

The new Classic Text field can have headings:

test-cl

Maybe you already know about this, but it's possible to add a CSS class for the entire block. Though it sounds like you had in mind adding a class for only the field.

kienstra avatar Nov 27 '19 16:11 kienstra

@kienstra Hi!

That's great, I didn't realize that there was a new update! It would be nice to be able to switch to html input mode. Sometimes you might have a large text already in html and you just want to paste it into the block without having to reformat.

I do know about the block css class. However, I was rather thinking about a class picker just like the heading picker. Sometimes you'd probably want to style individual paragraphs with classes from your css. For example, if you want to achieve markup like this:

<h1>Heading</h1> <p>Lorem ipsum dolor sit amet</p> <p class="warning">Warning!</p> <p>Lorem ipsum dolor sit amet</p>

zaewin avatar Nov 28 '19 08:11 zaewin

What happened with this "Classic Text field" ? I only see "Text" and "Textarea" I want to a field that support rich text

I'm using Version 1.5.4

image

azanoni avatar Apr 02 '20 16:04 azanoni

Hi @azanoni – the Classic Text and Rich Text controls are available as part of Block Lab Pro.

https://getblocklab.com/block-lab-pro/

lukecarbis avatar Apr 03 '20 00:04 lukecarbis

Whoops. I think that reply answers your question, but the original feature request isn’t yet implemented, so reopening.

lukecarbis avatar Apr 03 '20 00:04 lukecarbis