Skip to content

Conversation

@nallias
Copy link

@nallias nallias commented Oct 2, 2018

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
}

In order to correctly use the `selector` parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants