A collection of awesome javascript editors
具备粗体、斜体、列表、图片、引用、段落、分段等功能,并能产出优美的html代码。
区别于传统的富文本编辑器,只生产纯净的 html tags,不添加额外的 style 属性。
或者其实可以叫做所见即得的 html 编辑器。
What we needed was a library that only patched browser inconsistencies in contentEditable and, on top of that, ensured semantic markup — a very thin layer on top of contentEditable. That’s why we built Scribe.
参考:
-
quora
-
closure editor: http://closure-library.googlecode.com/svn/trunk/closure/goog/demos/editor/editor.html
div contenteditable