comparison media/js/tiny_mce/plugins/emotions/editor_plugin_src.js @ 183:149c3567fec1

Updated to TinyMCE version 3.3.2. This is for #57.
author Brian Neal <bgneal@gmail.com>
date Sun, 28 Mar 2010 21:47:48 +0000
parents a5b4c5ce0658
children
comparison
equal deleted inserted replaced
182:5c889b587416 183:149c3567fec1
1 /** 1 /**
2 * $Id: editor_plugin_src.js 520 2008-01-07 16:30:32Z spocke $ 2 * editor_plugin_src.js
3 * 3 *
4 * @author Moxiecode 4 * Copyright 2009, Moxiecode Systems AB
5 * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. 5 * Released under LGPL License.
6 *
7 * License: http://tinymce.moxiecode.com/license
8 * Contributing: http://tinymce.moxiecode.com/contributing
6 */ 9 */
7 10
8 (function() { 11 (function(tinymce) {
9 tinymce.create('tinymce.plugins.EmotionsPlugin', { 12 tinymce.create('tinymce.plugins.EmotionsPlugin', {
10 init : function(ed, url) { 13 init : function(ed, url) {
11 // Register commands 14 // Register commands
12 ed.addCommand('mceEmotion', function() { 15 ed.addCommand('mceEmotion', function() {
13 ed.windowManager.open({ 16 ed.windowManager.open({
35 } 38 }
36 }); 39 });
37 40
38 // Register plugin 41 // Register plugin
39 tinymce.PluginManager.add('emotions', tinymce.plugins.EmotionsPlugin); 42 tinymce.PluginManager.add('emotions', tinymce.plugins.EmotionsPlugin);
40 })(); 43 })(tinymce);