|
PKP Bugzilla – Full Text Bug Listing |
| Summary: | extend TinyMCE configuration to allow for iframes | ||
|---|---|---|---|
| Product: | OCS | Reporter: | James MacGregor <jmacgreg> |
| Component: | General | Assignee: | PKP Support <pkp-support> |
| Status: | NEW --- | ||
| Severity: | enhancement | CC: | alec, kritikes.spoudes, mattcrider, thetwentyone |
| Priority: | P5 | ||
| Version: | 2.3.6 | ||
| Hardware: | PC | ||
| OS: | Mac OS X 10.3 | ||
| Version Reported In: | 2.3.0 | Also Affects: | |
|
Description
James MacGregor
2010-03-30 21:01:27 PDT
See http://pkp.sfu.ca/support/forum/viewtopic.php?f=3&t=5920&p=22723#p22723 for a workaround, but I'll continue looking for a way to modify TinyMCE to allow this. I'm not sure if enabling this site-wide would be a good idea--Users could end up embedding malicious scripts. This also affects versions 2.3.3-2 Through some searching, it seems like it would be a simple fix to add extended_valid_elements : "iframe[src|width|height|name|align]", to the tinymce init http://tinymce.moxiecode.com/punbb/viewtopic.php?pid=58808 It may not be TinyMCE stripping iframe tags, but OJS itself -- see the config.inc.php directive called "allowed_html". |