More Rich Text Formatting Options?

Are there any plans to support more WYSIWYG formatting options like subscript, superscript, strikethrough, etc.?

Thanks!

1 Like

Hi @jerry.nummi, there are not any plans currently to add these sorts of formatting options to the Rich Text editor by default, sorry.

That being said, there is a way to add these sorts of custom formatting options using Rich Text labels. Here is an article that explains how to do this:

labels won’t work for adding superscript within a paragraph or bold tag. Maybe if you wanted the entire rich text block to be superscript… but that’s a really weird usecase.

My way around this is to use a pre tag in the richtext editor, and then just write custom html.

It would be a lot cooler if there was a pre editor that could be content aware and give a VSCode editor that is content aware…
we could then write markdown or html or javascript or whatever.

Rich Text labels don’t have to be applied to an entire block of text, you can apply them to any part of a paragraph, for example. Have you given it a try yet to see if it will work for you?

please add this feature! it’s really annoying for our content creators that they can’t use subscript! :confused:

Hi @rrkuepper, sorry that I wasn’t clear. You have the ability to use subscript, superscript, strikethrough, or any other custom styling option using Rich Text labels. Here is an article that explains how to do this:

Got it working, thanks!

Screen Shot 2020-05-20 at 9.02.52 AM

Screen Shot 2020-05-20 at 9.03.10 AM

2 Likes

@Phil, please when you guys work on the editor, you guys should include common Html elements such as code, abbreviation, and time. This gives us better SEO effects than the use of labels which basically renders span elements with class names :rage:

I do like Prismic, at least, but it looks like issues take time to get resolved by the team. This is not impressive.

1 Like

Thanks for the feedback Harrison, this extra information for your use case is really helpful.

I’ve passed this extra information to the product team who will take it in to consideration when they begin changes on the editor.

The best way to model your custom types in Prismic so that your can use proper html code & quote tags would be to create unique Slices for each one of those use cases. In each Slice you will have a key text field and you can send that data to pre-configured components in your project which will render the data in the correct tags.

Alternatively you can create a custom html field to add the full HTML tags.

If/when the team release any changes to the editor they will update you here.

Hello Phil, while I can go on and create lots of slices, which I am very ok with, Prismic still does not help. The graphql api of prismic does not allow post requests, it only allows get requests. If one is not careful in the use of slices, he ends up hitting 413 error from prismic nginx server, due to too much graphql fragments in the query parameter.

This is the most annoying thing about prismic and the thing i fear most. Because someday, i might not be able to scale my platform due to this issue. I have used prismic on two projects now and I keep hoping that you guys will soon support post requests on your graphql api, just like every other server.

I will create a separate ticket for this. It is a big problem. Massive one.