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
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • Lefthandmedia
  • Murray Wood
  • eydolan
  • Following Sea
  • Anton Tarasov
  • Stéphane Jäggi
  • Raffy
  • Snow Creative
  • A. Moreno
  • Nick Clark
  • JT Skaggs
  • Helen
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

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

Learn more