You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "David Johnson (JIRA)" <ji...@apache.org> on 2009/09/26 18:17:15 UTC

[jira] Updated: (ROL-1782) Rich Text Editor (Xinha) always set URL to relative path.

     [ https://issues.apache.org/jira/browse/ROL-1782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Johnson updated ROL-1782:
-------------------------------

    Fix Version/s: 5.0
         Assignee: David Johnson  (was: Roller Unassigned)

Looks like all we need to do is add this to the Xinha config:
   xinha_config.stripBaseHref = false;

I'll do that in 5.0 and I'll upgrade to the latest Xinha (0.95)

> Rich Text Editor (Xinha) always set URL to relative path.
> ---------------------------------------------------------
>
>                 Key: ROL-1782
>                 URL: https://issues.apache.org/jira/browse/ROL-1782
>             Project: Roller
>          Issue Type: Bug
>          Components: User Interface - General
>         Environment: I used it under OpenSolaris 2009-11, with Firefox 3.
>            Reporter: Pierre-antoine Berreur
>            Assignee: David Johnson
>             Fix For: 5.0
>
>
> I created this entry via the Rich Text Editor on blogs.sun.com:  http://blogs.sun.com/TheGlobosso/entry/opensso_home_page_in_french. I've added there an image that I've uploaded before to my blog (File Upload section).
> The html code generated is <p><img src="/TheGlobosso/resource/French/logo_French_link.png" /> </p> , and it works fine on my blog. The problem is on the OpenSSO Planet associated: the image is not displayed there.
> This is because the image has a relative and not an absolute one. The problem is: even changing manually the html code, I can not have a absolute path for my image. 
> when I change the <img src="/TheGlobosso/resource/French/logo_French_link.png" /> to <img src="http://blogs.sun.com/TheGlobosso/resource/French/logo_French_link.png" />, either by editing the html code, or either clicking on the image 'Insert/Modify Image' button, and then save, the code is modified back to the relative path.
> I tried do set my URL to an absolute path via the normal text editor, and it worked: image is now well displayed in both my blog and the planet, and the URL is not rested by default to a relative one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.