Hello Fred and everybody
I'm working on the next FCKeditor.Plone package.
I have made some corrections to the fckeditor
javascript code and i think there will be useful for
the entire product.
here they are :
1. editor/dialog/fck_link/fck_link.js
When inserting relative link (example './myfile.html')
the function onUrlChange doesn't work correctly.
Protocol should change to 'other' but it remains in
'http'.
We should just change the line 56, from :
oRegex.UrlOnChangeTestOther.compile(
'^(javascript:|#|/)', 'gi' ) ;
to :
oRegex.UrlOnChangeTestOther.compile(
'^(javascript:|#|/|.)', 'gi' ) ;
The other corrections are concerning the problem with
end tags ("</") in javascript strings inside html
pages, wich causes a bug in Zope 2.7.x, Zope thinks
it's not valid HTML and it refuses compilation. We need
to transform '</' in '<\/'. Many files are concerned.
You will find a zip attached with all files concerned
Best regards
Jean-mat
Logged In: YES
user_id=1026935
SQorry i've forgot the zip ;-)
Logged In: YES
user_id=572424
This patch has been included in the last version.