Minor Changes
-
#7683
034e88fThanks @joshbermanssw! - Rich-text fields can now colour text. A Text Color dropdown now appears next to Highlight in the default toolbar. Fields with a customoverrides.toolbarneed'textColor'added to it. Coloured text saves as a<span>with acolorstyle, inside any bold, italic, strikethrough or highlight. The palette can be set per field underoverrides.textColors(a list of{ label, value }).Also fixes:
- Adjacent text with different marks no longer picks up a neighbour's mark on save (e.g. bold italic text followed by italic text saved both as bold).
- Renderers only apply plain CSS colours, so content can no longer inject arbitrary CSS through a highlight or text colour.
Patch Changes
- Updated dependencies [
034e88f]:- @tinacms/schema-tools@2.11.0