Avatar of Leevi Graham

LG TinyMCE Add TinyMCE WYSIWYG editing to ExpressionEngine

Download LG TinyMCE v1.2.1 Table of contents

Features

LG TinyMCE creates a new custom field type that replaces the default textarea field with a TinyMCE WYSIWYG editor.

LG TinyMCE also supports .gzip output using the TinyMCE Compressor making the download 75% smaller.

Screenshots

Requirements

LG TinyMCE is an ExpressionEngine extension and has been tested on ExpressionEngine 1.6.0+.

LG TinyMCE also requires TinyMCE which can be downloaded from the Moxiecode website.

Installation

The LG TinyMCE extension download contains an extension folder and a language file. To install the extension follow the instructions below:

  1. Download the latest version of the extension
  2. Extract the .zip file to your desktop
  3. Copy the extensions/ext.lg_tinymce.php directory to your /system/extensions directory
  4. Copy the language/english/lang.lg_tinymce.php file to your /system/languages/english directory

LG TinyMCE does not include a copy of TinyMCE or the TinyMCE Compressor. It will need to be downloaded from the developers website.

Activation

This extension has no special activation requirements. To activate:

  1. Log in to your sites administration
  2. Open the Extensions Manager
  3. Enable Extensions if not already enabled
  4. Enable the extension
  5. Update the extension settings.

Configuration

The LG TinyMCE extension includes a handful settings.

  1. Script Path
  2. Script Config
  3. Enable GZip
  4. GZip Script Path
  5. GZip Script Config
Script Path [required]
/scripts/tinymce/jscripts/tiny_mce/tiny_mce.js

The path to tiny_mce.js. LG TinyMCE assumes the TinyMCE directory is in /scripts/.

Script Config [required]
...

TinyMCE configuration options. See TinyMCE Configuration for more details.

Enable GZip [optional]
Enable GZip = FALSE

TinyMCE can be compressed to 75% of its original size if the server supports GZip compression. See TinyMCE Compressor.

GZip Script Path [required if GZip is enabled]
GZip Script Path = /scripts/tinymce/jscripts/tiny_mce/tiny_mce_gzip.js

The path to tiny_mc_gzip.js.

GZip Script Config [required if GZip is enabled]
...

TinyMCE Compressor configuration options. See TinyMCE Configuration for more details.

Usage

Now that the extension has been installed an setup correctly a new field type will appear when creating custom fields.

  1. Create a new custom field in an existing weblog and choose LG TinyMCE as the field type.
  2. Set the default text formatting to None
  3. Hide the formatting menu
  4. Save the custom field
  5. Create a new entry in the weblog
  6. The custom field will be replaced with a TinyMCE WYSIWYG Editor

Change Log

1.0.0

  • Initial Release

1.1.0

  • Added GZip compression option

1.1.2

  • Default configuration update
  • Small memory improvement

1.1.3

  • Whitespace fix inline with EE Developer Guidelines
  • Reduced number of preg_match methods

1.1.4

  • Accepted into the official ExpressionEngine Addon repository

1.1.5

  • Minor Bug Fix

1.1.7

  • Minor Bug Fix
  • Updated documentation

1.1.8

  • Fixed bug with GZIP option. Both GZIP and unzipped files where being loaded.

1.2.0

  • Changed method names to follow new internal coding standards
  • Source code commenting in PHPDoc syntax
  • Added Slovak language file

1.2.1

  • Added number of rows option.

License

Creative Commons License LG TinyMCE is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.