updating tinymce to 1.41
This commit is contained in:
parent
dc1721d1ef
commit
bd48711603
125 changed files with 5524 additions and 3444 deletions
|
|
@ -1,37 +1,2 @@
|
|||
/* Import theme specific language pack */
|
||||
tinyMCE.importPluginLanguagePack('iespell', 'uk,se');
|
||||
|
||||
/**
|
||||
* Returns the HTML contents of the iespell control.
|
||||
*/
|
||||
function TinyMCE_iespell_getControlHTML(control_name) {
|
||||
// Is it the iespell control and is the brower MSIE.
|
||||
if (control_name == "iespell" && tinyMCE.isMSIE)
|
||||
return '<img id="{$editor_id}_iespell" src="{$pluginurl}/images/iespell.gif" title="{$lang_iespell_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}\',\'mceIESpell\');">';
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the mceIESpell command.
|
||||
*/
|
||||
function TinyMCE_iespell_execCommand(editor_id, element, command, user_interface, value) {
|
||||
// Handle ieSpellCommand
|
||||
if (command == "mceIESpell") {
|
||||
try {
|
||||
var ieSpell = new ActiveXObject("ieSpell.ieSpellExtension");
|
||||
ieSpell.CheckDocumentNode(tinyMCE.getInstanceById(editor_id).contentDocument.documentElement);
|
||||
} catch (e) {
|
||||
if (e.number == -2146827859) {
|
||||
if (confirm(tinyMCE.getLang("lang_iespell_download", "", true)))
|
||||
window.open('http://www.iespell.com/download.php', 'ieSpellDownload', '');
|
||||
} else
|
||||
alert("Error Loading ieSpell: Exception " + e.number);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
// Pass to next handler in chain
|
||||
return false;
|
||||
}
|
||||
tinyMCE.importPluginLanguagePack('iespell','cs,el,en,fr_ca,it,ko,sv,zh_cn');function TinyMCE_iespell_getControlHTML(control_name){if(control_name=="iespell"&&tinyMCE.isMSIE)return '<img id="{$editor_id}_iespell" src="{$pluginurl}/images/iespell.gif" title="{$lang_iespell_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}\',\'mceIESpell\');">';return "";}function TinyMCE_iespell_execCommand(editor_id,element,command,user_interface,value){if(command=="mceIESpell"){try{var ieSpell=new ActiveXObject("ieSpell.ieSpellExtension");ieSpell.CheckDocumentNode(tinyMCE.getInstanceById(editor_id).contentDocument.documentElement);}catch(e){if(e.number==-2146827859){if(confirm(tinyMCE.getLang("lang_iespell_download","",true)))window.open('http://www.iespell.com/download.php','ieSpellDownload','');}else alert("Error Loading ieSpell: Exception "+e.number);}return true;}return false;}
|
||||
37
www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin_src.js
vendored
Normal file
37
www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin_src.js
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/* Import theme specific language pack */
|
||||
tinyMCE.importPluginLanguagePack('iespell', 'cs,el,en,fr_ca,it,ko,sv,zh_cn');
|
||||
|
||||
/**
|
||||
* Returns the HTML contents of the iespell control.
|
||||
*/
|
||||
function TinyMCE_iespell_getControlHTML(control_name) {
|
||||
// Is it the iespell control and is the brower MSIE.
|
||||
if (control_name == "iespell" && tinyMCE.isMSIE)
|
||||
return '<img id="{$editor_id}_iespell" src="{$pluginurl}/images/iespell.gif" title="{$lang_iespell_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}\',\'mceIESpell\');">';
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the mceIESpell command.
|
||||
*/
|
||||
function TinyMCE_iespell_execCommand(editor_id, element, command, user_interface, value) {
|
||||
// Handle ieSpellCommand
|
||||
if (command == "mceIESpell") {
|
||||
try {
|
||||
var ieSpell = new ActiveXObject("ieSpell.ieSpellExtension");
|
||||
ieSpell.CheckDocumentNode(tinyMCE.getInstanceById(editor_id).contentDocument.documentElement);
|
||||
} catch (e) {
|
||||
if (e.number == -2146827859) {
|
||||
if (confirm(tinyMCE.getLang("lang_iespell_download", "", true)))
|
||||
window.open('http://www.iespell.com/download.php', 'ieSpellDownload', '');
|
||||
} else
|
||||
alert("Error Loading ieSpell: Exception " + e.number);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
// Pass to next handler in chain
|
||||
return false;
|
||||
}
|
||||
4
www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/cs.js
vendored
Normal file
4
www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/cs.js
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
// UK lang variables
|
||||
|
||||
tinyMCELang['lang_iespell_desc'] = 'Spustit kontrolu pravopisu';
|
||||
tinyMCELang['lang_iespell_download'] = "ieSpell nedetekován. Kliknìte na OK a otevøete stahovací stránku."
|
||||
4
www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/en.js
vendored
Normal file
4
www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/en.js
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
// UK lang variables
|
||||
|
||||
tinyMCELang['lang_iespell_desc'] = 'Run spell checking';
|
||||
tinyMCELang['lang_iespell_download'] = "ieSpell not detected. Click OK to go to download page."
|
||||
4
www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/fr_ca.js
vendored
Normal file
4
www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/fr_ca.js
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
// CAN_FR lang variables
|
||||
|
||||
tinyMCELang['lang_iespell_desc'] = 'Executer le vérificateur d\'orthographe';
|
||||
tinyMCELang['lang_iespell_download'] = "ieSpell n\'a pas été trouvé. Cliquez sur OK pour aller au site de téléchargement."
|
||||
4
www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/sv.js
vendored
Normal file
4
www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/sv.js
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
// SE lang variables
|
||||
|
||||
tinyMCELang['lang_iespell_desc'] = 'Kör rättstavningskontroll';
|
||||
tinyMCELang['lang_iespell_download'] = "ieSpell verkar inte vara installerad. Klicka OK för att ladda hem."
|
||||
4
www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/zh_cn.js
vendored
Normal file
4
www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/zh_cn.js
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
// Simplified Chinese lang variables contributed by cube316 (cube316@etang.com)
|
||||
|
||||
tinyMCELang['lang_iespell_desc'] = '运行拼写检查';
|
||||
tinyMCELang['lang_iespell_download'] = "未检测到ieSpell拼写检查,点击 OK 前往下载页面。"
|
||||
Loading…
Add table
Add a link
Reference in a new issue