1.4.5 • Published 5 years ago

ember-pell v1.4.5

Weekly downloads
2,272
License
MIT
Repository
github
Last release
5 years ago

Build Status Greenkeeper badge Ember Observer Score NPM package info for ember-pell License info

Compatibility

  • Ember.js v2.18 or above
  • Ember CLI v2.13 or above
  • Node.js v8 or above

Installation

An Ember Component that uses under the hood the great Pell micro 1KB WYSIWYG editor (https://github.com/jaredreich/pell) that doesn't require jQuery.

Browser support

ChromeFirefoxIEOperaSafari
5+ ✔4+ ✔9+ ✔11.6+ ✔5+ ✔

Demo

https://ember-twiddle.com/3b21c63730594b39d2b9cbfa8f963803

Installation

ember install ember-pell

Usage

1. Setup value property:

You can declare value variable in your controller or parent component:

// app/controllers/task.js
import Ember from 'ember';

export default Ember.Controller.extend({
  value: '<h1>Some html</h1>',
  options: {} // optional param
});

2. Use pell-editor component

{{pell-editor value=value onChange=(action (mut value)) pellOptions=options}}

Available options are documented in Pell repository

License

See the LICENSE file included in this repository.

Contributing

See the Contributing guide for details.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms, which can be found in the CODE_OF_CONDUCT.md file in this repository.

1.4.5

5 years ago

1.4.4

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.1.0

7 years ago

1.0.0

7 years ago