Skip to content

lepture/ed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

  1. path: upload url path
  2. headers: extra headers for your image server
  3. data: extra body data for your image server

.value()

var html = ed.value()

Get sanitized html of the content.

License

MIT

About

A wysiwyg editor without configuration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published