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.