X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fhtmlarea.html;h=f00c773607511b2c22feff22a9670373afdee668;hb=b431ece7b4a71aa5771f44393da582692f668817;hp=f27c4b5e677318b0012fd953dc2fca163fb9e69f;hpb=7153190ee1bfeb6d3ad9e6da270a41a949333a7e;p=freeside.git diff --git a/httemplate/elements/htmlarea.html b/httemplate/elements/htmlarea.html index f27c4b5e6..f00c77360 100644 --- a/httemplate/elements/htmlarea.html +++ b/httemplate/elements/htmlarea.html @@ -22,8 +22,12 @@ Example: oFCKeditor.BasePath = '<% $p %>elements/fckeditor/'; oFCKeditor.Config['SkinPath'] = '<% $p %>elements/fckeditor/editor/skins/silver/'; +% if ( $opt{'width'} ) { + oFCKeditor.Width = '<% $opt{'width'} %>'; +% } oFCKeditor.Height = '<% $opt{'height'} || 420 %>'; oFCKeditor.Config['StartupFocus'] = true; + oFCKeditor.Config['EnterMode'] = 'br'; oFCKeditor.Create();