Skip to content

Releases: froala/ember-froala-editor

Version 2.6.3

22 Jul 05:24
Compare
Choose a tag to compare
  • Updated froala-editor to 2.6.3
  • Updated ember and ember-cli to 2.14
  • Bugfix #40 {{froala-editor}} initialization with the initOnClick option

Version 2.6.2

23 Jun 20:48
Compare
Choose a tag to compare
  • Updated froala-editor dep to 2.6.2
  • Remove MODEL_FACTORY_INJECTIONS deprecation
  • Manually defined version in docs to work around an unknown issue with config.APP being an empty object {}

Version 2.6.1

31 May 17:50
Compare
Choose a tag to compare

Couple version bumps;

  • froala-editor
  • ember-cli

Release 2.6.0

04 May 11:18
Compare
Choose a tag to compare
Update to V2.6.0.

Version 2.5.1

15 Mar 15:40
Compare
Choose a tag to compare

Version 2.5.1-beta.1

14 Mar 14:24
Compare
Choose a tag to compare

Version 2.5.0

08 Mar 16:37
Compare
Choose a tag to compare

This release is for the froala-editor 2.5.0 and also includes several improvements to this ember addon.

Options as Individual Attributes

Options can now be added as individual attributes instead of needing to use an options hash (although that still works)! For example; {{froala-editor options=(hash theme="royal")}} can now become {{froala-editor theme="royal"}}

defaultOptions Deprecated, Use options Instead

Prior to this release, the proper way to set "default options" was to use the defaultOptions property when extending the Froala Editor component. Now, instead of using that special property, you can set them in the options property.

Froala Editor on Nested <div>

Due to potential conflicts with DOM mutation by both Ember/Glimmer and Froala Editor, the Froala Editor instance now has its own, nested <div> within the {{froala-editor}} component. This may effect any custom styling you may have done outside of the standard froala-editor CSS. The {{froala-editor}} now has a 'froala-editor-container' class, and the actual Froala Editor <div> has a 'froala-editor-instance' class.

Ember 2.4.2+ Required

Due to the move from defaultOptions to options when extending, there was a bug-fix in ember 2.4.2 to properly "merge" the options property with the incoming attribute.

BUGFIX initOnClick Focus

There was a noticiable bug when using the initOnClick option and the editor not properly being focused with correct placement of the cursor. This was due to the content being "set" on the editor within the internal init handler. #27 and #30

Reminder: Remove Froala Editor from Bower Dep

Just a friendly reminder to remove froala-wysiwyg-editor from your bower.json dependancies. Since version 2.4.2, the froala-editor dependancy is now handled by this addon instead (and via npm).

Version 2.4.2

02 Feb 16:35
Compare
Choose a tag to compare

Action Needed!

  • Remove the froala-wysiwyg-editor dependency from your projects bower.json file

Changes

  • Froala Editor files are now imported directly from the addon's npm dependency instead of the projects bower dependency, removing the need to bump both dependencies when new versions are released
  • Added the ability to define the Froala Editor activation key in config/environment.js, as an alternate to defining it on the FroalaEditorComponent defaultOptions:{ key:'' }
  • Added a depreciation message when update is not used on the {{froala-editor}}, since two-way binding no longer exists as of 2.4.0
  • Improved testing; added more tests and enabled Travis CI integration!

Version 2.4.2-beta.1

01 Feb 17:14
Compare
Choose a tag to compare
Version 2.4.2-beta.1 Pre-release
Pre-release

Action Needed!

  • Remove the froala-wysiwyg-editor dependency from your projects bower.json file

Changes

  • Froala Editor files are now imported directly from the addon's npm dependency instead of the projects bower dependency, removing the need to bump both dependencies when new versions are released
  • Added the ability to define the Froala Editor activation key in config/environment.js, as an alternate to defining it on the FroalaEditorComponent defaultOptions:{ key:'' }
  • Added a depreciation message when update is not used on the {{froala-editor}}, since two-way binding no longer exists as of 2.4.0
  • Improved testing; added more tests and enabled Travis CI integration!

Release 2.4.1

25 Jan 20:43
Compare
Choose a tag to compare
  • BUGFIX: Add ember-font-awesome as a project dep instead of the older ember-cli-font-awesome addon
  • BUGFIX: Ember 2.11 "seals/freezes" helper params, which caused an error with the froala-method helper in this addon. Using ES6 destructuring in the function signature resolves the error
  • Update froala-editor version to 2.4.1
  • Update ember and ember-cli versions to 2.11.0