My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

New tags (center, color, and highlight) for the editor

Pankaj Sanam's photo
Pankaj Sanam
·Jun 15, 2021·

1 min read

It would be great to have the tags for centering the elements and putting some colored texts.

For centering an element, we must be able to use the following tag:

[center][/center]

For highlighting a particular text with some color, we must be able to do the following:

[highlight color="#25c2a0"]my text here[/highlight]

OR

[text background="#25c2a0"]my text here[/text]

We should also be able to change the color of the text like this:

[text color="#25c2a0"]my text here[/text]

Last but not least, we should have these examples in the "Guide" of the editor along with the new tags like <sup> that were introduced a few months back.

I think these new tags would make the editor more powerful and give us some new possibilities.