2 * Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
\r
6 tinymce.create('tinymce.plugins.EmotionsPlugin', {
\r
7 init : function(ed, url) {
\r
9 ed.addCommand('mceEmotion', function() {
\r
10 ed.windowManager.open({
\r
11 file : url + '/emotions.htm',
\r
12 width : 250 + parseInt(ed.getLang('emotions.delta_width', 0)),
\r
13 height : 160 + parseInt(ed.getLang('emotions.delta_height', 0)),
\r
21 ed.addButton('emotions', {title : 'emotions.emotions_desc', cmd : 'mceEmotion'});
\r
24 getInfo : function() {
\r
26 longname : 'Emotions',
\r
27 author : 'Moxiecode Systems AB',
\r
28 authorurl : 'http://tinymce.moxiecode.com',
\r
29 infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/emotions',
\r
30 version : tinymce.majorVersion + "." + tinymce.minorVersion
\r
36 tinymce.PluginManager.add('emotions', tinymce.plugins.EmotionsPlugin);
\r