Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    ember-cli-penpublic

    ember-cli-pen

    Use the Pen editor with Ember via {{pen-editor}}.

    Usage

    ember install:addon ember-cli-pen
    {{pen-editor}}

    Attributes

    • debug - Defaults to false

    Available Config Options

    var ENV = {
      APP: {},
     
      'ember-cli-pen': {
        defaultList: [
          'blockquote', 'h2', 'h3', 'p', 'pre',
          'insertorderedlist', 'insertunorderedlist',
          'indent', 'outdent',
          'bold', 'italic', 'underline',
          'createlink', 'inserthorizontalrule'
        ],
        markdown: true,
        debug: false
      }
    };
    • defaultList - The tool list to use by default, otherwise pass in as {{pen-editor list=myList}}.
    • markdown - Enables markdown, false by default. Enabling this adds a markdown.js to the build.
    • debug - Allows for debugging the Pen editor, false by default.

    Installation

    • git clone this repository
    • npm install
    • bower install

    Running

    Running Tests

    • ember test
    • ember test --server

    Building

    • ember build

    For more information on using ember-cli, visit http://www.ember-cli.com/.

    install

    npm i ember-cli-pen

    Downloadslast 7 days

    4

    version

    0.1.2

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar