ember-medium-editor-fix

0.0.3 • Public • Published

ember-medium-editor Build Status Ember Observer Score npm version

medium-editor library for Ember Apps.

README and docs are under reconstruction for now. Preparing it for v1.0 release!

Installation

With ember:

  • ember install ember-medium-editor

With npm:

  • npm install --save-dev ember-medium-editor

With yarn:

  • yarn add --dev ember-medium-editor

Configuration

// ember-cli-build.js
let app = new EmberApp(defaults, {
  mediumEditor: {
    /**
    * If true will include only JS in the build.
    *
    * @type Boolean
    * @default false
    */
    excludeStyles: false,
    
    /**
    * List of themes: https://github.com/yabwe/medium-editor/tree/master/dist/css/themes
    *
    * @type String
    * @default 'default'
    */
    theme: 'default'
  }
});

Usage

{{medium-editor
    model.text
    options=(hash)
    onChange=(action (mut model.text))}}

Issues

If you encounter any issue please report it here.

API Docs

Licence

MIT

Package Sidebar

Install

npm i ember-medium-editor-fix

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

387 kB

Total Files

53

Last publish

Collaborators

  • igbopie