contentful / field-editors

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

Inline language tagging in rich text #1270

Open mrGrazy opened 2 years ago

mrGrazy commented 2 years ago

Hi, I would like to gauge whether this feature could be considered in-scope for the rich text editor, if so I am happy to contribute a PR to support it.

In New Zealand, (and I assume in some other countries around the world), we use two languages interchangeably in our content. It is common in New Zealand English to use some Maori words and to have headings and paragraphs of Maori text embedded in our content.

For accessibility reasons, it would be good if we could render this on the front end using <lang> tags to help screen readers and other assistive devices correctly pronounce the words.

Ideally, there would be a kind of mark that could be applied using the rich text editor to indicate the language. We would like to add this to the rich text editor, but we would prefer not to fork the editor, especially if this can be done in a way to improve the multilingual support for other contentful users around the world.

If we contributed a PR adding the rich text editor plugin (and, I assume a new type for the richtext field) would you consider that in scope for including in contentful?

github-actions[bot] commented 1 year ago

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