TinymceBundle
TinymceBundle copied to clipboard
Update init.jquery.js
Hi all,
In order to correctly use the selector
parameter.
This is particularly important when dealing with the inline
attribute, which enforces to replace textarea with a div (or something else) in order to avoid the <br data-mce-bogus="1">
.
As a side note, if tinyMCE_init is triggered while some are already there, the inline ones would get a visibility="hidden"
for some reason. To fix it use the init callback:
function callback_tinymce_init(editor) {
$('#'+editor.id).css('visibility','') //fix inline editors
}