diff options
| author | hukl <contact@smyck.org> | 2009-09-09 12:07:57 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-09 12:07:57 +0200 |
| commit | a6292dd0fecd4482fe863ed849d126b5281b1a8a (patch) | |
| tree | 7c4c32e1a3448c5d1995a236ed01c731018da13d /public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js | |
| parent | 83fe1b1abd7d7bb85679be3f1341e5c88db0ae83 (diff) | |
huge tiny_mce update - now using the tiny_mce jquery build which allows tiny_mce to be initialized via jquery - great!
Diffstat (limited to 'public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js')
| -rw-r--r--[-rwxr-xr-x] | public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js b/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js index 5cdeb21..70f168a 100755..100644 --- 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) { | |||
| 224 | var ed = tinyMCEPopup.editor, dom = ed.dom; | 224 | var ed = tinyMCEPopup.editor, dom = ed.dom; |
| 225 | 225 | ||
| 226 | ed.getDoc().execCommand('FontName', false, 'mceinline'); | 226 | ed.getDoc().execCommand('FontName', false, 'mceinline'); |
| 227 | tinymce.each(dom.select(tinymce.isWebKit ? 'span' : 'font'), function(n) { | 227 | tinymce.each(dom.select('span,font'), function(n) { |
| 228 | if (n.style.fontFamily == 'mceinline' || n.face == 'mceinline') | 228 | if (n.style.fontFamily == 'mceinline' || n.face == 'mceinline') |
| 229 | dom.replace(dom.create(en, {_mce_new : 1}), n, 1); | 229 | dom.replace(dom.create(en, {_mce_new : 1}), n, 1); |
| 230 | }); | 230 | }); |
