Jump to main content Jump to doc navigation

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

  • modmore
  • modmore
  • Jens Wittmann – Gestaltung & Entwicklung
  • Raffy
  • eydolan
  • Digital Penguin
  • Fabian Christen
  • Dannevang Digital
  • deJaya
  • Sepia River Studios
  • Following Sea
  • Anton Tarasov
  • Lefthandmedia
  • Nick Clark
  • Chris Fickling
  • Murray Wood
  • YJ
  • CrewMark
  • Richard

Budget

$305 per month—let's make that $500!

Learn more