Skip to content
Browse files

Fixed issue where WebKit wouldn't correctly apply ins/del in xhtmlxtr…

…as plugin.
  • Loading branch information...
1 parent e907fb2 commit f7ca965d7c5cdf01db0609f8d21a2ad46f5d1ae2 @spocke spocke committed Sep 29, 2010
Showing with 2 additions and 20 deletions.
  1. +2 −0 changelog.txt
  2. +0 −10 jscripts/tiny_mce/plugins/xhtmlxtras/js/del.js
  3. +0 −10 jscripts/tiny_mce/plugins/xhtmlxtras/js/ins.js
View
2 changelog.txt
@@ -1,3 +1,5 @@
+Version 3.3.9.3 (2010-xx-xx)
+ Fixed issue where WebKit wouldn't correctly apply ins/del in xhtmlxtras plugin.
Version 3.3.9.2 (2010-09-29)
Fixed bug where placing the caret in IE 9 beta 1 would not work correctly if you clicked out side the document body element.
Fixed bug where IE 9 beta 1 wouldn't resize the editor correctly since the events didn't fire as previous versions did.
View
10 jscripts/tiny_mce/plugins/xhtmlxtras/js/del.js
@@ -45,16 +45,6 @@ function insertDel() {
tinyMCEPopup.close();
}
-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) {
- if (n.style.fontFamily == 'mceinline' || n.face == 'mceinline')
- dom.replace(dom.create(en), n, 1);
- });
-}
-
function removeDel() {
SXE.removeElement('del');
tinyMCEPopup.close();
View
10 jscripts/tiny_mce/plugins/xhtmlxtras/js/ins.js
@@ -49,14 +49,4 @@ function removeIns() {
tinyMCEPopup.close();
}
-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) {
- if (n.style.fontFamily == 'mceinline' || n.face == 'mceinline')
- dom.replace(dom.create(en), n, 1);
- });
-}
-
tinyMCEPopup.onInit.add(init);

0 comments on commit f7ca965

Please sign in to comment.
Something went wrong with that request. Please try again.