2017 © Pedro Peláez
 

silverstripe-module silverstripe-tinytidy

Control which styles are available in TinyMCE's style dropdown menu and what elements they can be applied to

image

jonom/silverstripe-tinytidy

Control which styles are available in TinyMCE's style dropdown menu and what elements they can be applied to

  • Friday, December 18, 2015
  • by Jono M
  • Repository
  • 2 Watchers
  • 32 Stars
  • 1,781 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

TinyTidy for SilverStripe

Example of dropdown menu, (*1)

This module mainly serves as an example of how to customise the 'styles' dropdown menu in the TinyMCE editor to control which elements certain styles can be applied to and whether or not they should replace other styles., (*2)

It also shows how to customise the buttons in the editor by rebuilding the rows (rather than removing buttons), and remove the h1 option from the tag menu., (*3)

Requirements

SilverStripe 3~ (tested in 3.1, not sure about 3.0), (*4)

Installation

Composer / Packagist (best practice) cd to your website's root directory then run this command: composer require jonom/silverstripe-tinytidy then run a dev/build?flush=1., (*5)

Manually Download, place the folder in your project root, rename it to 'tinytidy' (if applicable) and run a dev/build?flush=1., (*6)

How to use

The tinytidy/_config.php file contains an example configuration for TinyMCE and comments which explain what various options do. Either uncomment and edit that file directly, or copy the contents to your mysite/_config.php and edit as required to suit your needs., (*7)

Maintainer contact

Jono Menz, (*8)

Sponsorship

If you want to boost morale of the maintainer you're welcome to make a small monthly donation through GitHub, or a one time donation through PayPal. ❤️ Thank you!, (*9)

Please also feel free to get in touch if you want to hire the maintainer to develop a new feature, or discuss another opportunity., (*10)

The Versions

18/12 2015

dev-master

9999999-dev

Control which styles are available in TinyMCE's style dropdown menu and what elements they can be applied to

  Sources   Download

BSD-3-Clause

The Requires

 

tinymce silverstripe htmleditor