Ok my problem starts off like this; I have an in-place editor using fckeditor and ipwe. The toolbarlocation is placed within another <div>. Everything works fine on the initial first entry in the editor. But when I click the 'save' button and then return to the editor again, the toolbar functions cease to work. Also if I click outside the editor box the toolbar grays out.
Here is a snippet of code;
Here is a snippet of code;
<div class="wyswrapper"> <div class="ah_text">Text to edit.</div> <div id="ah_toolbar"></div> </div> <script type="text/javascript"> var oFCKeditor = new FCKeditor( 'editor1') ; oFCKeditor.BasePath = "./js/fckeditor/" ; oFCKeditor.ToolbarSet = "ifset1" ; oFCKeditor.Width = '400'; oFCKeditor.Height = '220'; oFCKeditor.Config['ToolbarLocation'] = "Out:ah_toolbar"; $('.ah_text').editable( { type: 'wysiwyg', editor: oFCKeditor, onSubmit:function submitData(content){ unset(oFCKeditor); }, submit:'save' }); </script> <