Menu

#87 FCKEditor Update

open
nobody
None
5
2006-07-27
2006-07-27
No

Minor changes:

ensure you can browse for an internal link in both
FCKEditor and HTMLArea.

allow specification of FCKEditor size and set size of
cms version to match size of HTMLArea

allow implementations to set FCKEditor config file in
code - cms still sets it in config parameter.

Patched on trunk at R1272

Discussion

  • chris gilbert

    chris gilbert - 2006-07-27

    xsl to honour editor size

     
  • chris gilbert

    chris gilbert - 2006-07-27

    standard config includes browse for internal link

     
  • chris gilbert

    chris gilbert - 2006-07-27

    handle internal links for both editors

     
  • chris gilbert

    chris gilbert - 2006-07-27

    allow apps to set config

     
  • chris gilbert

    chris gilbert - 2006-07-27

    set fck editor size

     
  • Steve Pugh

    Steve Pugh - 2006-11-20

    Logged In: YES
    user_id=1271522
    Originator: NO

    Hi Chris,
    I have applied this patch, but not sure what is supposed to be happening regards the "browse for an internal link" feature.
    If I press the "Insert Link" button, and then on the popup click "Browser Server", I get an almost empty window with no items. I imagined the patch would show the content items, is this correct?
    Steve

     
  • chris gilbert

    chris gilbert - 2006-11-20

    Logged In: YES
    user_id=1069385
    Originator: YES

    Hi Steve,

    Yes - it should open the folder browser same as in old htmlarea implementation. Could you first check that going direct to /ccm/content/admin/search.jsp?useURL=true&widget=getElementById('txtUrl') brings up the browser as expected.

    If so, then I wonder if the config file that is being used does not contain the required amendments - the one that is used is specified in config com.arsdigita.cms.dhtml_editor_config=cms-fck,/assets/fckeditor/config/fckconfigstyledefault.js (I am not using this standard one, I have a custom one - if you use a custom config, then look at config.diff below and add the required lines and set your custom one in config)

    If these are ok and still doesn't work, let me know - did the patch apply okay?

    Chris.....

     
  • Steve Pugh

    Steve Pugh - 2006-11-20

    Logged In: YES
    user_id=1271522
    Originator: NO

    Thanks Chris, the patch had applied OK, the problem was I didn't realize I needed to set
    com.arsdigita.cms.dhtml_editor_config=cms-fck,/assets/fckeditor/config/fckconfigstyledefault.js

    Working nicely now :)
    Steve

     
  • Alan Pevec

    Alan Pevec - 2007-03-14

    Logged In: YES
    user_id=1334257
    Originator: NO

    in SVN trunk@1478 and releases/1.0.4@1479

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.