Skip to content

Commit

Permalink
Fixed issue where WebKit wouldn't correctly apply ins/del in xhtmlxtr…
Browse files Browse the repository at this point in the history
…as plugin.
  • Loading branch information
spocke committed Sep 29, 2010
1 parent e907fb2 commit f7ca965
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
2 changes: 2 additions & 0 deletions 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.
Expand Down
10 changes: 0 additions & 10 deletions jscripts/tiny_mce/plugins/xhtmlxtras/js/del.js
Expand Up @@ -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();
Expand Down
10 changes: 0 additions & 10 deletions jscripts/tiny_mce/plugins/xhtmlxtras/js/ins.js
Expand Up @@ -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.