Hello,
Im using since a short time the FCKeditor 2.4.1
Now i want to use 2 FCKeditors on 1 page.
I use FCKeditor via the JavaScript implementation.
And it replaces the normal textarea component on a form.
With a single FCKeditor everything is working fine.
But i dont know how to implement a second one on the same page.
Hope you guys can help me back on the track
this is my javascript code
<script type="text/javascript" src="../fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'Description' ) ;
oFCKeditor.BasePath = "../fckeditor/" ;
oFCKeditor.ToolbarSet = 'Basic' ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
And the place where it replaces the HTML
<textarea id="Description" name="Description">
Im using since a short time the FCKeditor 2.4.1
Now i want to use 2 FCKeditors on 1 page.
I use FCKeditor via the JavaScript implementation.
And it replaces the normal textarea component on a form.
With a single FCKeditor everything is working fine.
But i dont know how to implement a second one on the same page.
Hope you guys can help me back on the track
this is my javascript code
<script type="text/javascript" src="../fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'Description' ) ;
oFCKeditor.BasePath = "../fckeditor/" ;
oFCKeditor.ToolbarSet = 'Basic' ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
And the place where it replaces the HTML
<textarea id="Description" name="Description">
RE: Multiple FCK's on 1 page
<script type="text/javascript" src="../fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'Description' ) ;
oFCKeditor.BasePath = "../fckeditor/" ;
oFCKeditor.ToolbarSet = 'Basic' ;
oFCKeditor.ReplaceTextarea() ;
var secondFCKEditor= new FCKeditor( 'SecondEditor' ) ;
secondFCKEditor.BasePath = "../fckeditor/" ;
secondFCKEditor.ToolbarSet = 'Basic' ;
secondFCKEditor.ReplaceTextarea() ;
}
</script>
And the place where it replaces the HTML
<textarea id="Description" name="Description">
<textarea id="Description" name="SecondEditor">
RE: Multiple FCK's on 1 page
<textarea id="SecondEditor" name="SecondEditor">