From a6292dd0fecd4482fe863ed849d126b5281b1a8a Mon Sep 17 00:00:00 2001 From: hukl Date: Wed, 9 Sep 2009 12:07:57 +0200 Subject: huge tiny_mce update - now using the tiny_mce jquery build which allows tiny_mce to be initialized via jquery - great! --- public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js (limited to 'public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js') diff --git a/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js b/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js old mode 100755 new mode 100644 index 5cdeb21..70f168a --- a/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js +++ b/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js @@ -224,7 +224,7 @@ function insertInlineElement(en) { var ed = tinyMCEPopup.editor, dom = ed.dom; ed.getDoc().execCommand('FontName', false, 'mceinline'); - tinymce.each(dom.select(tinymce.isWebKit ? 'span' : 'font'), function(n) { + tinymce.each(dom.select('span,font'), function(n) { if (n.style.fontFamily == 'mceinline' || n.face == 'mceinline') dom.replace(dom.create(en, {_mce_new : 1}), n, 1); }); -- cgit v1.3