I'd like to build a simple web page editor - think of a poor man's in-browser Dreamweaver - and I'm seeing whether I should leverage CKEditor. The main challenge, from my reading up on CKEditor so far, is that I'll need to add a lot of layout management. I.e., I want things like divs to be selectable (e.g. to change its properties - selectable at least in show-blocks mode), optionally resizable and draggable (for absolute positioning/visual CSS tweaking/etc - perhaps via lots of handle bars).
Will doing this be easier if building on CKEditor? Should I be using contentEditable at all? Or would the only sane way to do this be the hard way (implementing my own editing engine a la Google Docs)?
I'm slowly learning what's easy/possible and what's hard/impossible using CKEditor and more generally contentEditable, but I thought I'd ask here for advice.
Will doing this be easier if building on CKEditor? Should I be using contentEditable at all? Or would the only sane way to do this be the hard way (implementing my own editing engine a la Google Docs)?
I'm slowly learning what's easy/possible and what's hard/impossible using CKEditor and more generally contentEditable, but I thought I'd ask here for advice.
Re: General advice on making an HTML editor with layout cont
If you want to start from scratch using contentEditable then you'll have to patch first the problems that it has in every browser, make it behave the same, clean the output, etc... and then you can add your custom code.
On the other side, you can use CKEditor as a base letting it take care of those issues and then start working on top of that adding your special needs. Create some plugins, propose some patch for something that doesn't work as expected... but without being forced to create everything again.