Commit 165bb0ce authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

Commenting out the code that hard-codes mime type class names to links, css...

Commenting out the code that hard-codes mime type class names to links, css (both live and tinymce) should take care of most of these or user should have to specifically use them ('external' for example)
parent f189646a
......@@ -51,7 +51,7 @@ Unl.hasParentNodeWithClass = function(childNode, parentClass) {
ed.getBody().id = 'maincontent';
});
ed.onPostProcess.add(function(ed, o) {
/*ed.onPostProcess.add(function(ed, o) {
var links = ed.getBody().getElementsByTagName('a');
for (var i = 0; i < links.length; i++) {
var link = links[i];
......@@ -129,7 +129,7 @@ Unl.hasParentNodeWithClass = function(childNode, parentClass) {
addClass(link, 'external');
}
}
});
});*/
// Register the command so that it can be invoked by using tinyMCE.activeEditor.execCommand('mceUnl');
ed.addCommand('mceUnl', function() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment