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
xsl to honour editor size
standard config includes browse for internal link
handle internal links for both editors
allow apps to set config
set fck editor size
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
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.....
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
Logged In: YES
user_id=1334257
Originator: NO
in SVN trunk@1478 and releases/1.0.4@1479