Giter Site home page Giter Site logo

nsm.tiny_mce.ee_addon's Introduction

NSM TinyMCE

Written by: Leevi Graham (Twitter | Website), Technical Director of Newism, based on LG TinyMCE (EE1.x)

NSM TinyMCE is an ExpressionEngine 2 custom field that converts standard text areas to TinyMCE (Moxicode) WYSIWYG editor.

Features

  • Multiple configurations
  • Per field configuration
  • Matrix integration

Screenshots

NSM TinyMCE custom field settings NSM TinyMCE custom field settings

Installation

Download

  1. Download the master branch
  2. Rename the downloaded folder to nsm_tiny_mce
  3. Move the folder to system/expressionengine/third_party
  4. Move themes/third_party/nsm_tiny_mce from the downloaded files to themes/third_party in your EE install.

Config files

TinyMCE config files are located in /system/expressionengine/third_party/nsm_tiny_mce/javascript/tiny_mce_config.

Configuration example:

<script language="javascript" type="text/javascript">
	NsmTinyMCEConfigs.basic = {
		button_tile_map : true,
		mode: 'none', // Must be none.
		theme : 'advanced',
		width : "99%",
	};
</script>

Configuration files are just a json object of TinyMCE configuration options that extends the NsmTinyMCEConfigs global object.

The key must be named the same as the actual file name. ie. If the configuration file is simple.js the NsmTinyMCEConfigs key will be simple.

** Important **: The mode key must be set to none, not textareas or exact.

Notes

This custom field has been tested on EE 2.0.2 Build 20100430

TinyMCE version 3.3.5.1 is included with the addon. Please review the TinyMCE license.

Todo

  1. Add PHP Compressor support
  2. Add NSM Addon Updater integration
  3. Fix Matrix cell settings bug

nsm.tiny_mce.ee_addon's People

Contributors

iainsaxon avatar leevigraham avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.