field-editors icon indicating copy to clipboard operation
field-editors copied to clipboard

More formatting options in the default Rich Text editor?

Open stevenyang1011 opened this issue 5 years ago • 15 comments

Is there any plan or road map to support more formatting in the default Rich Text editor? For example superscript <sup> html tag or the subscript <sub> tag?

stevenyang1011 avatar Oct 13 '20 03:10 stevenyang1011

And to add to this: It would be nice if you could set text-align on text..

lindelleric avatar Oct 19 '20 09:10 lindelleric

@stevenyang1011 @lindelleric The team will be working on Rich Text updates next Q1 and we might add these new formatting options or make customization easier. We'll keep this issue open and close once we have new Rich Text capabilities.

suevalov avatar Nov 04 '20 14:11 suevalov

Being able to add items to the embed dropdown would be amazing too.

srounce avatar Nov 04 '20 17:11 srounce

@srounce Could you please elaborate on what kind of items you'd like to be able to add to the embed dropdown?

DanweDE avatar Nov 17 '20 21:11 DanweDE

One of the issue I ran into customising the Rich Text Editor is the validation. When I add more plugins to render superscript and subscript tags, the validation gives an error unless you enable all the formatting options on the content model. image

I could not find documentations on customising the formatting options to add more for my subscript and superscript plugins. The workaround I used is to enable all so the validation passes and turn off certain formatting option by modifying my extension to not render the plugins.

stevenyang1011 avatar Nov 19 '20 01:11 stevenyang1011

Just for note there is a discussion going on inside the slack community about this topic. The problem to add new nodeTypes (not marks) is that there is a deeper validation inside contentful you cannot bypass. https://contentful-community.slack.com/archives/CBYTK7T9S/p1626664817229800

th1nkgr33n avatar Aug 19 '21 18:08 th1nkgr33n

Marking issue as stale since there was no acitivty for 30 days

github-actions[bot] avatar Aug 14 '22 07:08 github-actions[bot]

This appears to have been already implemented by https://github.com/contentful/field-editors/pull/1280 and https://github.com/contentful/rich-text/pull/391: Screenshot from 2023-06-15 17-48-19

If you still aren't seeing the feature, edit your content model and enable the field formatting options: Screenshot from 2023-06-15 17-49-10

OzzieOrca avatar Jun 16 '23 00:06 OzzieOrca

Marking issue as stale since there was no activity for 30 days

github-actions[bot] avatar Jul 16 '23 07:07 github-actions[bot]

Is there a way to customize the field options for custom apps?

arctouch-richardlopes avatar Jan 08 '24 21:01 arctouch-richardlopes

Marking issue as stale since there was no activity for 30 days

github-actions[bot] avatar Feb 09 '24 07:02 github-actions[bot]