mailr/public/tiny_mce/plugins/advlink/editor_plugin_src.js

18 lines
623 B
JavaScript

/* Import plugin specific language pack */
tinyMCE.importPluginLanguagePack('advlink', 'en,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br');
/**
* Insert link template function.
*/
function TinyMCE_advlink_getInsertLinkTemplate() {
var template = new Array();
template['file'] = '../../plugins/advlink/link.htm';
template['width'] = 400;
template['height'] = 420;
// Language specific width and height addons
template['width'] += tinyMCE.getLang('lang_insert_link_delta_width', 0);
template['height'] += tinyMCE.getLang('lang_insert_link_delta_height', 0);
return template;
}