-
- 1,732 Posts
Quote from: Mark at Sep 11, 2005, 08:12 AM
Is there any progress?
Hi Mark,
I’ll get back to this one real soon.
-
- 1,732 Posts
Here we go. This will reduce the height and width of the FCKEditor for the Summary field:
global $replace_richtexteditor;
$replace_richtexteditor[] = "introtext";
$html = '<script>'.
'document.mutate.introtext.style.height="100px";'.
'setTimeout("adJustIntrotextSize()",500);'.
'function adJustIntrotextSize(){'.
' var o = document.getElementById("introtext___Frame");'.
' if(o) {o.style.height="130px";o.style.width="300px"}'.
'}'.
'</script>';
$modx->event->output($html);
-
- 3,250 Posts
Sweet, works like a charm.
Also, is there any way to alter the toolbar layout (say use a custom toolbar) only for the summary?
-
- 1,732 Posts
I think there is. You might want to try and play with the "oFCKintrotext" javascript fck instance.
-
- 1,732 Posts
Hmmm,
If we can’t change the toolbars after the editor is loaded then I guess this is where we have to stop until TP4