UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

TinyMCE strips javascript

Albert · ·
4:44 AM Tuesday, 10 May 2016
None
I need to be able to embed gist scripts into posts.

I'm using Sourcer to be able to embed javascript into easyblog. I'm using TinyMCE editor. When I save a post, the code works in the front-end, but when I edit a post the code is gone.
ex.
{source}<script></script>{/source}
when I edit it it changes to
{source}{/source}


I'm using sourcer, so I don't have to toggle off the editor to make javascript work.

I tested it with regular Joomla articles, and the plugin, embedding, editing all works. It just seems to be easyblog stripping it away when I try to edit a post.

TinyMCE plugin setting:
Prohibited Elements: applet,iframe
valid elements: script
Extended valid elements: script[language|type|src], iframe[src|title|width|height|allowfullscreen|frameborder|class|id]

upate: looks like arkEditor does the same thing. Is there some other setting I'm messing. I'm trying hard to find an editor that works with easyblog.
The replies under this section are restricted to logged in users or users with an active subscription with us