Menu

#148 FCK Editor 2.0 - some corrections

closed-fixed
None
5
2005-10-07
2005-09-03
No

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

Discussion

  • Jean-mat Grimaldi - Ingeniweb

    Logged In: YES
    user_id=1026935

    SQorry i've forgot the zip ;-)

     
  • Jean-mat Grimaldi - Ingeniweb

     
  • Frederico Caldeira Knabben

    • assigned_to: nobody --> fredck
    • status: open --> open-fixed
     
  • Frederico Caldeira Knabben

    Logged In: YES
    user_id=572424

    This patch has been included in the last version.

     
  • Frederico Caldeira Knabben

    • status: open-fixed --> closed-fixed
     

Log in to post a comment.