Hi,
New to cute editor, upgrading from FCK!
I am working on an application where I will show existing text or place holders which will, when clicked, display a cute editor with the content that was on the page (if any).
This will allow me to show the user a preview of the page (We will have 3-6 of these editable content areas). When the user clicks on any of the text a cuteeditior control of equal width (but fixed height) to the text it replaced will be shown. The user will then hit save (easy to capture and handle) to commit the content and return to the text view.
I am not dynamically creating a control (is this possible?) in JS as I think the responsiveness of having it hidden and available will be worth the additional initial load time. I would consider doing so if its the most sensible option / decent performance.
If I take the control from the dom and append it (appendChild etc) to the target element the control moves fine but seems to loose it's javascript event handlers.
I do not want to measure the width of the target, fix its height and wipe the text and then absolutely position over the top as this feels dirty. I will not use post backs to update the text / render the controls as this 2009!
thanks in advance for any help you can offer with this,
Megabeans