field-editors
field-editors copied to clipboard
💡 Proposal - Improve rich-text code visability
The problem
Inline code is really hard to spot, due to only slightly changing the appearance compared to normal text.
Three works comment, description and remarks are actually code elements.
The proposed solution
Add a (grey) background around the element to more strongly differentiate it, just like on github.
E.g.
just text vs. a code element
Breaking changes
- none
Nice catch! 👍
Definitely a good suggestion! Some extra work will be needed for the rich text editor though - it appears that these styles are hard-coded at the moment and don't come from the F36 component - https://github.com/contentful/field-editors/blob/acee0da7ad982a104e8567ae6b67f2a894ef86dc/packages/rich-text/src/plugins/shared/MarkPlugin.js#L18-L20
Marking issue as stale since there was no acitivty for 30 days
@m10l is this fixed? Can this be closed?