Profile cover photo
Profile photo
Brian Nielsen
149 followers
149 followers
About
Brian's posts

Post has shared content

Post has shared content

Post has shared content

Post has shared content
Success in an iceberg...
Photo

Post has attachment
Photo

Post has shared content
Carota, a rich text editor implemented entirely in JavaScript that uses HTML5 Canvas for rendering

You've found the demo page for Carota, a rich text editor implemented entirely in JavaScript that uses HTML5 Canvas for rendering. Most in-browser editors use a built-in feature called contentEditable to do most of the hard work, but this has some limitations and drawbacks that are just too much for more sensitive people, like me, to bear, so I decided to start from scratch. (Anyway, it's fun to write your own editor!) 

The source code is released under the very permissive MIT license, so you can do pretty much anything you want with it. 

At runtime Carota has no external dependencies. You just pull in the carota-min.js file using the SCRIPT tag and away you go. Or else get node and use: 

 npm install carota 

to get the full source, including this demo site. By the way, Carota itself is displaying all this text, meaning that you can play with the editor right now! Try Ctrl+A and then Backspace to clear this document and see how the JSON view on the right changes as you make further edits. Press Ctrl+Z to undo your changes. 

Image / Demo:
http://earwicker.com/carota

GitHub / Download:
https://github.com/danielearwicker/carota

License:
The MIT License (MIT)
http://www.opensource.org/licenses/mit-license.php
https://github.com/danielearwicker/carota/blob/master/license.txt
Photo

Post has shared content

Post has shared content
 
Transform yourself & Your life, get fit & healthy. Start your free month now!!! Cancel anytime. #fitness #workout #health #exercise #gymra
Animated Photo

Post has shared content

Post has shared content
Wait while more posts are being loaded