Problem with TinyMCE Rails

0

I'm creating an application with rails and I've integrated the TinyMCE editor by gem

The installation process went smoothly. I tested it on the local server and it worked out the first time. But when I reopen the form the edit area does not appear.

    
asked by anonymous 13.03.2017 / 21:41

1 answer

1

Darshan is probably using TinyMCE in a modal, right?

If so, you need to start TinyMCE with javascript in this mode, so that it searches the server for its JS and CSS dependencies that are loaded dynamically.

I've been through it once and that's how I got around it. I think it should have some configuration also so that TinyMCE is not initialized every time when we open a modal.

    
27.03.2017 / 01:05