I'll paypal whoever can answer this $20. No joke.
Moving FCKeditors inside of Scriptaculous sortables has been giving me heartburn. When I move the editor around the toolbar disappears and the editor seems to reset or something. This is in Firefox 3 and the latest Safari on a Mac. The code below should illustrate the problem. Once loaded, drag the editor list element to a new position and drop it.
Moving FCKeditors inside of Scriptaculous sortables has been giving me heartburn. When I move the editor around the toolbar disappears and the editor seems to reset or something. This is in Firefox 3 and the latest Safari on a Mac. The code below should illustrate the problem. Once loaded, drag the editor list element to a new position and drop it.
<html>
<head>
<script type="text/javascript" src="javascript/prototype.js"></script>
<script type="text/javascript" src="javascript/scriptaculous.js"></script>
<script type="text/javascript" src="fckeditor/fckeditor.js"></script>
</head>
<body>
<ul id="list">
<li id="a">Item A</li>
<li id="b">
<table>
<tr>
<td id="toolbar_holder"></td>
<tr>
<td id="editor_holder"></td>
</tr>
</table>
</li>
<li id="c">Item C</li>
</ul>
<script type="text/javascript">
var fck = new FCKeditor('demo');
fck.ToolbarSet = 'Email';
fck.StartupFocus = true ;
fck.BasePath = 'fckeditor/';
fck.Config[ 'ToolbarLocation' ] = 'Out:toolbar_holder';
document.getElementById('editor_holder').innerHTML = fck.CreateHtml();
window.onload = function() {
Sortable.create('list',{tag:'li'});
}
</script>
</body>
</html>

Re: FCKEditor inside of a Scriptaculous sortable? Reward: $20.
Re: FCKEditor inside of a Scriptaculous sortable? Reward: $20.