comparison static/js/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js @ 442:6c182ceb7147

Fixing #217; upgrade TinyMCE to 3.4.2 and enable the paste plugin.
author Brian Neal <bgneal@gmail.com>
date Thu, 26 May 2011 00:43:49 +0000
parents 88b2b9cb8c1f
children
comparison
equal deleted inserted replaced
441:33d0c55e57a9 442:6c182ceb7147
25 25
26 ed.addCommand('mceAcronym', function() { 26 ed.addCommand('mceAcronym', function() {
27 ed.windowManager.open({ 27 ed.windowManager.open({
28 file : url + '/acronym.htm', 28 file : url + '/acronym.htm',
29 width : 350 + parseInt(ed.getLang('xhtmlxtras.acronym_delta_width', 0)), 29 width : 350 + parseInt(ed.getLang('xhtmlxtras.acronym_delta_width', 0)),
30 height : 250 + parseInt(ed.getLang('xhtmlxtras.acronym_delta_width', 0)), 30 height : 250 + parseInt(ed.getLang('xhtmlxtras.acronym_delta_height', 0)),
31 inline : 1 31 inline : 1
32 }, { 32 }, {
33 plugin_url : url 33 plugin_url : url
34 }); 34 });
35 }); 35 });
36 36
37 ed.addCommand('mceAbbr', function() { 37 ed.addCommand('mceAbbr', function() {
38 ed.windowManager.open({ 38 ed.windowManager.open({
39 file : url + '/abbr.htm', 39 file : url + '/abbr.htm',
40 width : 350 + parseInt(ed.getLang('xhtmlxtras.abbr_delta_width', 0)), 40 width : 350 + parseInt(ed.getLang('xhtmlxtras.abbr_delta_width', 0)),
41 height : 250 + parseInt(ed.getLang('xhtmlxtras.abbr_delta_width', 0)), 41 height : 250 + parseInt(ed.getLang('xhtmlxtras.abbr_delta_height', 0)),
42 inline : 1 42 inline : 1
43 }, { 43 }, {
44 plugin_url : url 44 plugin_url : url
45 }); 45 });
46 }); 46 });
47 47
48 ed.addCommand('mceDel', function() { 48 ed.addCommand('mceDel', function() {
49 ed.windowManager.open({ 49 ed.windowManager.open({
50 file : url + '/del.htm', 50 file : url + '/del.htm',
51 width : 340 + parseInt(ed.getLang('xhtmlxtras.del_delta_width', 0)), 51 width : 340 + parseInt(ed.getLang('xhtmlxtras.del_delta_width', 0)),
52 height : 310 + parseInt(ed.getLang('xhtmlxtras.del_delta_width', 0)), 52 height : 310 + parseInt(ed.getLang('xhtmlxtras.del_delta_height', 0)),
53 inline : 1 53 inline : 1
54 }, { 54 }, {
55 plugin_url : url 55 plugin_url : url
56 }); 56 });
57 }); 57 });
58 58
59 ed.addCommand('mceIns', function() { 59 ed.addCommand('mceIns', function() {
60 ed.windowManager.open({ 60 ed.windowManager.open({
61 file : url + '/ins.htm', 61 file : url + '/ins.htm',
62 width : 340 + parseInt(ed.getLang('xhtmlxtras.ins_delta_width', 0)), 62 width : 340 + parseInt(ed.getLang('xhtmlxtras.ins_delta_width', 0)),
63 height : 310 + parseInt(ed.getLang('xhtmlxtras.ins_delta_width', 0)), 63 height : 310 + parseInt(ed.getLang('xhtmlxtras.ins_delta_height', 0)),
64 inline : 1 64 inline : 1
65 }, { 65 }, {
66 plugin_url : url 66 plugin_url : url
67 }); 67 });
68 }); 68 });
69 69
70 ed.addCommand('mceAttributes', function() { 70 ed.addCommand('mceAttributes', function() {
71 ed.windowManager.open({ 71 ed.windowManager.open({
72 file : url + '/attributes.htm', 72 file : url + '/attributes.htm',
73 width : 380, 73 width : 380 + parseInt(ed.getLang('xhtmlxtras.attr_delta_width', 0)),
74 height : 370, 74 height : 370 + parseInt(ed.getLang('xhtmlxtras.attr_delta_height', 0)),
75 inline : 1 75 inline : 1
76 }, { 76 }, {
77 plugin_url : url 77 plugin_url : url
78 }); 78 });
79 }); 79 });