I got TEXTAREA replacement in my php page, but there is just text area, without ToolbarSet. Where should I specify ToolbarSet? Your examples aren't very specific in this regard...
(in _documentation/Using FCKeditor/Javascript.html)
Should I add oFCKeditor.ToolbarSet = "Office2003"; or something else and where - in <head> area or down where <textarea> code is located?
I'm confused...
Here is code I used:
This is what I added in the <head> area:
<script type="text/javascript" src="/FCKeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'MyTextarea', 920, 300, true, false ) ;
oFCKeditor.ToolbarSet = "Office2003";
oFCKeditor.ReplaceTextarea() ;
}
</script>
And this goes into <body> area:
Somehow doesn't work...
(in _documentation/Using FCKeditor/Javascript.html)
Should I add oFCKeditor.ToolbarSet = "Office2003"; or something else and where - in <head> area or down where <textarea> code is located?
I'm confused...
Here is code I used:
This is what I added in the <head> area:
<script type="text/javascript" src="/FCKeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'MyTextarea', 920, 300, true, false ) ;
oFCKeditor.ToolbarSet = "Office2003";
oFCKeditor.ReplaceTextarea() ;
}
</script>
And this goes into <body> area:
<? echo " <textarea cols=134 rows=7 id='MyTextarea' name='MyTextarea'>$myrow[text]</textarea>"; ?>
Somehow doesn't work...
RE: <TEXTAREA> in PHP - how???
>oFCKeditor.ToolbarSet = "Office2003";
>oFCKeditor.ReplaceTextarea() ;
here code that might be work:
var oFCKeditor = new FCKeditor( 'MyTextarea', 920, 300, true, false ) ;
oFCKeditor.ToolbarSet = "default";
oFCKeditor.ReplaceTextarea() ;
"office2003" is a toolbarstyle not an toolbarset .
i hope this helps *g*
RE: <TEXTAREA> in PHP - how???
var oFCKeditor = new FCKeditor( 'MyTextarea', 920, 300, true, false ) ;
oFCKeditor.ToolbarSet = "default";
oFCKeditor.Config['SkinPath'] = sBasePath = 'editor/skins/office2003/' ;
oFCKeditor.ReplaceTextarea() ;