Rich Text Editor (RTE) Configs
Last updated Jan 31st, 2020 | Page history | Improve this page | Report an issue
todo @theboxer
The default RTE configuration for the TinyMCE Editor for Fred is as follows:
{
"theme": "inlite",
"inline": true,
"plugins": "modxlink image imagetools media lists",
"insert_toolbar": "image media quicktable modxlink",
"selection_toolbar": "bold italic underline | alignleft aligncenter alignright | bullist numlist | modxlink h2 h3 h4 blockquote",
"image_advtab": true,
"imagetools_toolbar": "alignleft aligncenter alignright | rotateleft rotateright | flipv fliph | editimage imageoptions",
"auto_focus": false,
"branding": false,
"relative_urls": false,
"image_dimensions": false
}
For an ultra-minimal streamlined RTE, for example for only allowing italics and bolding in headlines, you might use the following RTE config:
{
"theme": "inlite",
"inline": true,
"selection_toolbar": "bold italic"
}
To learn more about plugins and options for TinyMCE, please see the TinyMCE Examples & Demos.
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn more