iordan93 / house-arryn-blog

1 stars 0 forks source link

TinyMCE not reloading #22

Open iordan93 opened 9 years ago

iordan93 commented 9 years ago

The TinyMCE in the admin panel cannot reload properly. Please help address this issue Testing: Login (admin /admin123), click on Add post. TinyMCE loads. Then log out, and login again. Pressing on Add post won't initialize the editor anymore

kdinev commented 9 years ago

The issue comes from the fact that you're not destroying the TinyMCE editor after creating it the first time. When you want to call .init on the editor make sure it's destroyed first!