ed
ed copied to clipboard
A wysiwyg editor without configuration.
ed
A simple yet functional editor without configuration. WIP
I am sorry that you can't customize anything! And you will never be able to customize anything. I won't add any more buttons on the toolbar.
Installation
Install with component(1):
$ component install lepture/ed
API
var ed = require('ed')
ed(document.querySelectory('#editor'), {
path: '/upload'
})
Options
All options are related to image uploading.
- path: upload url path
- headers: extra headers for your image server
- data: extra body data for your image server
.value()
var html = ed.value()
Get sanitized html of the content.
License
MIT