upgrading to tinymce 1.45
This commit is contained in:
parent
c287ab8a3e
commit
c351096b73
196 changed files with 3608 additions and 1636 deletions
|
|
@ -1,2 +1,2 @@
|
|||
/* Import theme specific language pack */
|
||||
tinyMCE.importPluginLanguagePack('print','en,sv,zh_cn,fa,fr_ca,fr,de,pl');function TinyMCE_print_getControlHTML(control_name){switch(control_name){case "print":return '<img id="{$editor_id}_print" src="{$pluginurl}/images/print.gif" title="{$lang_print_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mcePrint\',true);" />';}return "";}function TinyMCE_print_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mcePrint":tinyMCE.getInstanceById(editor_id).contentWindow.print();return true;}return false;}
|
||||
tinyMCE.importPluginLanguagePack('print','en,sv,zh_cn,fa,fr_ca,fr,de,pl,pt_br,cs,nl');function TinyMCE_print_getControlHTML(control_name){switch(control_name){case "print":return '<img id="{$editor_id}_print" src="{$pluginurl}/images/print.gif" title="{$lang_print_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mcePrint\',true);" />';}return "";}function TinyMCE_print_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mcePrint":tinyMCE.getInstanceById(editor_id).contentWindow.print();return true;}return false;}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/* Import theme specific language pack */
|
||||
tinyMCE.importPluginLanguagePack('print', 'en,sv,zh_cn,fa,fr_ca,fr,de,pl');
|
||||
tinyMCE.importPluginLanguagePack('print', 'en,sv,zh_cn,fa,fr_ca,fr,de,pl,pt_br,cs,nl');
|
||||
|
||||
function TinyMCE_print_getControlHTML(control_name) {
|
||||
switch (control_name) {
|
||||
|
|
|
|||
3
www/extras/tinymce/jscripts/tiny_mce/plugins/print/langs/cs.js
vendored
Normal file
3
www/extras/tinymce/jscripts/tiny_mce/plugins/print/langs/cs.js
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
// CS lang variables
|
||||
|
||||
tinyMCELang['lang_print_desc'] = 'Tisk';
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
// CA_FR lang variables
|
||||
// Canadian French lang variables by Virtuelcom last modification: 2005-06-15
|
||||
|
||||
tinyMCELang['lang_print_desc'] = 'Imprimer';
|
||||
|
|
|
|||
3
www/extras/tinymce/jscripts/tiny_mce/plugins/print/langs/nl.js
vendored
Normal file
3
www/extras/tinymce/jscripts/tiny_mce/plugins/print/langs/nl.js
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
// UK lang variables
|
||||
|
||||
tinyMCELang['lang_print_desc'] = 'Afdrukken';
|
||||
3
www/extras/tinymce/jscripts/tiny_mce/plugins/print/langs/pt_br.js
vendored
Normal file
3
www/extras/tinymce/jscripts/tiny_mce/plugins/print/langs/pt_br.js
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
// pt_BR lang variables
|
||||
|
||||
tinyMCELang['lang_print_desc'] = 'Imprimir';
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
// Simplified Chinese lang variables contributed by cube316 (cube316@etang.com)
|
||||
// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com)
|
||||
//请访问 http://www.cube316.net/ 以获取TinyMCE的中文支持
|
||||
|
||||
tinyMCELang['lang_print_desc'] = '´òÓ¡';
|
||||
|
|
|
|||
|
|
@ -1,17 +1 @@
|
|||
Print plugin for TinyMCE
|
||||
-----------------------------
|
||||
|
||||
About:
|
||||
This plugin adds a print button to TinyMCE.
|
||||
|
||||
Installation instructions:
|
||||
* Copy the print directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
|
||||
* Add plugin to TinyMCE plugin option list example: plugins : "print".
|
||||
|
||||
Initialization example:
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "textareas",
|
||||
plugins : "print",
|
||||
theme_advanced_buttons1_add : "print",
|
||||
});
|
||||
Check the TinyMCE documentation for details on this plugin.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue