Hi,
I've posted this in the 2.0 forum too, but was hoping someone might read it here...
Does anyone know if this is possible, as I'm developing a system with 3 fixed textareas, but would like to only have one toolbar.
Stu
I've posted this in the 2.0 forum too, but was hoping someone might read it here...
Does anyone know if this is possible, as I'm developing a system with 3 fixed textareas, but would like to only have one toolbar.
Stu

RE: Multiple editors, but only one toolbar
RE: Multiple editors, but only one toolbar
RE: Multiple editors, but only one toolbar
RE: Multiple editors, but only one toolbar
<html> <body> <script> var rootUrl="<a href="http://localhost/testfck/" target="_blank">http://localhost/testfck/</a>"; </script> <script type="text/javascript" src="FCKeditor/fckeditor.js"></script> <script language="javascript"> var FCKeditor_OnComplete_count=0; function OnFCKMouseDown(){ this.FCK.Focus(); } function OnFCKMouseUp(){ } function FCKeditor_OnComplete( FCK ) { //document.form1.onsubmit=null; FCKeditor_OnComplete_count++; var win=null; if (FCK.Name=="FCKToolbar") { win = window.frames['FCKToolbar___Frame']; win.document.getElementById('eWysiwyg').style.display='none'; win.document.getElementById('eSource').style.display='none'; document.getElementById('FCKToolbar___Frame').unselectable="on"; FCK.Config.ToolbarCanCollapse = false; FCK.ToolbarSet.Restart(); } else { win = window.frames[FCK.Name+"___Frame"]; win.document.getElementById( 'Collapsed' ).style.display = 'none' ; win.document.getElementById( 'Expanded' ).style.display = 'none' ; win._FCK = FCK; document.getElementById(FCK.Name+"___Frame").onfocus=OnFCKFocus; FCK.EditorDocument.FCK = FCK; FCK.EditorDocument.onmousedown=OnFCKMouseDown; FCK.EditorDocument.onmouseup=OnFCKMouseUp; } if (FCKeditor_OnComplete_count==3) { // all editors are loaded } } function OnFCKFocus() { win0 = window.frames['FCKToolbar___Frame']; win = window.frames[event.srcElement.id]; win0.FCK=win._FCK; if (win0.FCKToolbarSet && win0.FCKToolbarSet.RefreshItemsState) { win.FCK.AttachToOnSelectionChange( win0.FCKToolbarSet.RefreshItemsState ); win0.FCKToolbarSet.RefreshItemsState(); } FCKFocusFlag=false; } function CreateSplitter(e, target) { e.target=target; if (!target.style.height && target.height) { target.style.height=target.height; } e.onmousedown=function() { this.h0=this.target.style.pixelHeight; this.y0=event.y; this.setCapture(); } e.onmouseup=function() { this.y0=null; this.releaseCapture(); } e.onmousemove=function() { if (this.y0==null) return; var h = this.h0+event.y-this.y0; if (h>10) this.target.style.pixelHeight=h; window.status=h; } } </script> <script language="javascript"> //////////////////////////////////////////////////////////// // // Toolbar // //////////////////////////////////////////////////////////// var o = new FCKeditor( 'FCKToolbar' , '625px', '85px'); o.BasePath = rootUrl+"FCKeditor/"; o.Config['SkinPath']=rootUrl+"FCKeditor/editor/skins/silver/"; o.Config["AutoDetectLanguage"] = false ; o.Config["DefaultLanguage"] = "en" ; o.Create(); //////////////////////////////////////////////////////////// </script> <br> 1st editor <script language="javascript"> //////////////////////////////////////////////////////////// // // 1st editor // //////////////////////////////////////////////////////////// var o = new FCKeditor( 'abstract' , '625px', '100px'); o.BasePath = rootUrl+"FCKeditor/"; //o.ToolbarSet='Empty'; o.Config['SkinPath']=rootUrl+"FCKeditor/editor/skins/silver/"; o.Config["AutoDetectLanguage"] = false ; o.Config["DefaultLanguage"] = "en" ; o.Create(); </script> <hr id="abstractSplitter" align="left" NOSHADE="false" style="width=625px; cursor=row-resize;"> 2nd editor <script language="javascript"> //////////////////////////////////////////////////////////// // // 2nd editor // //////////////////////////////////////////////////////////// var o = new FCKeditor( 'msg' , '625px', '200px'); o.BasePath = rootUrl+"FCKeditor/"; //o.ToolbarSet='Empty'; o.Config['SkinPath']=rootUrl+"FCKeditor/editor/skins/silver/"; o.Config["AutoDetectLanguage"] = false ; o.Config["DefaultLanguage"] = "en" ; o.Create(); </script> <hr id="articleSplitter" align="left" NOSHADE="false" style="width=625px; cursor=row-resize;"> <script> CreateSplitter(document.getElementById('abstractSplitter'), document.getElementById('abstract___Frame')); CreateSplitter(document.getElementById('articleSplitter'), document.getElementById('msg___Frame')); </script> </body> </html>RE: Multiple editors, but only one toolbar
Special chars
Link (Unlink works)
Select all
Anyone know why this might be happening? As far as I know, the only editing I've made to the code is to make it find the editors and toolbar in their frames.
RE: Multiple editors, but only one toolbar