Releases: froala/ember-froala-editor
Version 2.6.3
- Updated
froala-editor
to 2.6.3 - Updated
ember
andember-cli
to 2.14 - Bugfix #40
{{froala-editor}}
initialization with theinitOnClick
option
Version 2.6.2
- 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
Couple version bumps;
- froala-editor
- ember-cli
Release 2.6.0
Update to V2.6.0.
Version 2.5.1
Version 2.5.1-beta.1
- [BUGFIX] #31 Check for 'vendorTree' before merging
Version 2.5.0
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
Action Needed!
- Remove the
froala-wysiwyg-editor
dependency from your projectsbower.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
inconfig/environment.js
, as an alternate to defining it on theFroalaEditorComponent
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
Action Needed!
- Remove the
froala-wysiwyg-editor
dependency from your projectsbower.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
inconfig/environment.js
, as an alternate to defining it on theFroalaEditorComponent
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
- BUGFIX: Add
ember-font-awesome
as a project dep instead of the olderember-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
andember-cli versions
to 2.11.0