Bring the Froala WYSIWYG Editor
into an ember-cli project with this addon. Besides importing the required
Froala Editor files, the main part of this addon is the {{froala-editor}}
component. Checkout the documentation Website
for installation, configuration, and usage details.
ember and ember-cli 1.13+ (including 2.x)
ember install ember-froala-editor
Take a look at the configuration documentation page
for details on the exact configuration options. But basically you add
'ember-froala-editor':{}
within your ember-cli-build.js
file and adjust
the available configuration options. Ex:
// ember-cli-build.js
// ... (snip)
'ember-froala-editor': {
plugins : true,
languages: ['es','fr','de'],
themes : 'royal'
},
// ... (snip)
Take a look at the documentation Website for full usage details. But basically this addon comes with a few Ember Components and Helpers to use within your project templates.
git clone
this repository (fork if you plan on submitting a PR)npm install
bower install
ember server
- Visit the docs at http://localhost:4200
npm test
(Runsember try:testall
to test against multiple Ember versions)ember test
ember test --server
ember server
(Visit tests at http://localhost:4200/tests)
Notes to self really...
- If bumping the
froala-wysiwyg-editor
version, update bothbower.json
andblueprints/ember-froala-editor/index.json
npm version x.y.z
- Updates the version inpackage.json
and tags in gitgit push origin master
- Pushes any changes up to Githubgit push origin --tags
- Pushes the new version tag to Github- Update the new tag on the Github Releases page
npm run deploy
- Deploys the docs togh-pages
using ember-cli-github-pagesgit checkout master
- Need to switch back tomaster
after deploying the docs..npm publish
- Release the new version to the world!
For more information on using ember-cli, visit http://ember-cli.com/.
The ember-froala-editor
project is under MIT license. However, in order to use Froala WYSIWYG HTML Editor plugin you should purchase a license for it.
Froala Editor has 3 different licenses for commercial use. For details please see License Agreement.