I am also working on something a bit like this. Sounds like a trend is starting... I also like OP's work, it's far nicer than Sir Trevor. (http://madebymany.github.io/sir-trevor-js/)
Some things I notice as well in OP's implementation:
- when selecting text you can only select a small subset of the content (if you start your selection in a paragraph, you can only select within that paragraph). This is going to drive authors crazy.
- moving the cursor with the keyboard suffers from the same limitation. Once you reach the top of your current paragraph, the "up arrow" key does nothing. It should really move to the bottom of the next content.
- for any web-based editor that uses contentEditable: cE is full of quirks (that's putting it politely). Addressing how you tame contentEditable from the start is the key to making a good editor. I think patching the editor as the quirks surface is a poor strategy.
Hi, sorry would you please let me know what you're referring with "OP's implementation"? Perhaps you have url. Or is it related with the ContentBuilder.js?
Thanks Bliker, bulleted & numbered list can be created using the editing toolbar (or drag/drop from the content block). We also keep improving the HTML result, including the fix for the unwanted span styles and new paragraph.
- No list auto-creation
- Sometimes ugly html like <span font-weigth=>
- Does not produce nice htm5 like hgroups, sections and em/strong
- I cannot make a paragraph in chrome, just <br>s