PKP Bugzilla – Bug 4690
Static Pages plugin breaks links
Last modified: 2009-09-15 10:49:40 PDT
We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.
The Static Pages plugin (which seems to be using a different iteration/variation of the TinyMCE plugin) breaks links. If I try to link an item with the following:
It actually looks like (Viewing the HTML via TinyMCE):
Which in turn displays as:
Thanks to the patch for Bug 3186, I tried adding
relative_urls : false,
to the TinyMCE script in StaticPagesEditForm.inc.php, which seems to have fixed the problem. If this sounds like the appropriate place to add this fix, I'll commit and close the bug.
James, sounds good -- but we should also resolve the duplication of the TinyMCE code, which is unnecessary. Could you file an additional entry for that against a future release?
(In reply to comment #1)
> James, sounds good -- but we should also resolve the duplication of the TinyMCE
> code, which is unnecessary. Could you file an additional entry for that against
> a future release?
Yep. Also note that adding the above line is unnecessary -- the line is there, but missing an 's' (line 112: change "relative_url : false," to "relative_urls : false," will fix the problem).
Committed against ojs2-devel and ocs2-devel; closing. See Bug 4697 for the resolution issue.
James, did you forget to close this entry?
Yep. :) Closing now.