X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-bootstrap-debug.js;h=d4d6c1c3cbe1ad3285af5f7ca5320341e6a65381;hp=f0882546a4a088c3be8f16e19293a43092e02442;hb=4e47f03f7da3c8d0892f133765c9d3c0be68c00b;hpb=72211f915b9c757fd5abb31f4e2c7e4690c59bd9 diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index f0882546a4..d4d6c1c3cb 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -22548,7 +22548,11 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { insertTag : function(tg) { // could be a bit smarter... -> wrap the current selected tRoo.. - if (tg.toLowerCase() == 'span' || tg.toLowerCase() == 'code') { + if (tg.toLowerCase() == 'span' || + tg.toLowerCase() == 'code' || + tg.toLowerCase() == 'sup' || + tg.toLowerCase() == 'sub' + ) { range = this.createRange(this.getSelection()); var wrappingNode = this.doc.createElement(tg.toLowerCase());