A
A
AlexPal4inskiy2014-08-11 18:01:43
JavaScript
AlexPal4inskiy, 2014-08-11 18:01:43

How to use tinymce 4 in a popup window whose content is loaded dynamically (ajax)?

The bottom line is this: I load ajax content in it there is a textarea on which you need to hang the tinymce editor. So, the editor connects and works, but when you try to add an image or a link or any element where you need to enter data (width, height, title), the cursor does not focus on any textarea and input, respectively, it is impossible even to view the source html code.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
AlexPal4inskiy, 2014-08-12
@AlexPal4inskiy

The problem was that I was opening the window using the .modal('show') method from the bootstrap framework. If anyone is interested please write.

A
Alexey, 2014-08-11
@HaJIuBauKa

Presumably z-index - see in the source code what it is in the editor window (dialog).
Most likely high enough. Therefore, the pop-up window is blocked by it.

M
Matveika, 2015-03-23
@Matveika

Can you elaborate, I'm facing the same problem. What was the solution?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question