contentful / field-editors

React components and extensions for building Contentful entry editor
https://contentful-field-editors.netlify.app/
MIT License
150 stars 117 forks source link

More formatting options in the default Rich Text editor? #441

Open stevenyang1011 opened 4 years ago

stevenyang1011 commented 4 years ago

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?

lindelleric commented 4 years ago

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

suevalov commented 3 years ago

@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.

srounce commented 3 years ago

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

DanweDE commented 3 years ago

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

stevenyang1011 commented 3 years ago

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.

th1nkgr33n commented 3 years ago

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

github-actions[bot] commented 2 years ago

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

OzzieOrca commented 1 year ago

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

github-actions[bot] commented 1 year ago

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

ghost commented 9 months ago

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

github-actions[bot] commented 8 months ago

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