how to remove title attribute from tinymce textarea
I have just figured out the correct solution for my problem:
(thx to: raina77ow for this fiddle )
STEP 1:
after the tinymce integration code add this:
tinymce.init({
// ...
});
var ed = tinymce.activeEditor;
var ifr = tinymce.DOM.get(ed.id + '_ifr');
ed.dom.setAttrib(ifr, 'title', '');
STEP 2
change the jquery-ui tooltip function from document to '[title]', like this:
$(function() { $( '[title]' ).tooltip({ content: function() { return $(this).attr('title'); } }); });
tinymce.init({
setup: function( editor ){
editor.on('init', function( e ){
$('#' + e.target.id + '_ifr').removeAttr('title');
});
}
});
Used jQuery !