This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@pie-libs/editable-html

2.2.1 • Public • Published

editable-html

editable-html is an inline HTML editor, based on slate, for use within PIE configuration panels.

It's pretty rough at the moment (UI + logic), but can't spend too much time on it right now.

Demo

npm install 
cd demo
../node_modules/.bin/webpack-dev-server --hot --inline
# go to http://localhost:8080

Usage

Install:

npm install --save @pie-libs/editable-html

Import:

import EditableHTML from '@pie-libs/editable-html';

Declare:

<EditableHTML 
    onChange={this.htmlChanged.bind(this)} 
    markup={markup} />

TODOS:

  • [ ] adjust the keypad layout for math
  • [ ] add image toolbar
  • [ ] add basics back in
  • [ ] math + image - delete node
  • [ ] move fileInput to toolbar button

Readme

Keywords

none

Package Sidebar

Install

npm i @pie-libs/editable-html

Weekly Downloads

0

Version

2.2.1

License

ISC

Unpacked Size

378 kB

Total Files

53

Last publish

Collaborators

  • npm