ember-ckeditor5
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

Ember CKEditor Build Status

This library is a thin wrapper around the CKEditor 5 balloon build

To install this addon, run

ember install ember-ckeditor

and then use the {{ck-editor}} component in your app. You may also directly access the Balloon Editor module by importing it

import { BalloonEditor } from 'ember-ckeditor'

The {{ck-editor}} component yields out an object that can be used on a case-by-case basis to provide some UI around the editor

{{#ck-editor value=myHtmlStringValue as |api|}}
  {{!-- A "save" button --}}
  <button onClick={{api.actions.save}}>Save</button>
{{/ck-editor}}

and if you provide an onChange function, it will be called anytime the value is altered

{{ck-editor
  value=myHtmlStringValue
  onChange=(action (mut myHtmlStringValue)) }}

Addon Development

Installation

  • git clone <repository-url> this repository
  • cd ember-ckeditor
  • npm install

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

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

Readme

Keywords

Package Sidebar

Install

npm i ember-ckeditor5

Weekly Downloads

1

Version

0.1.2

License

MIT

Last publish

Collaborators

  • northm