Releases: froala/ember-froala-editor
Releases · froala/ember-froala-editor
Version 2.7.6
Changes since 2.7.5
- 💥 ember/ember-cli 2.15+ = This addon now required ember and ember-cli 2.15.0 or higher.
- 💥 node 6.x or 8.x+ = This addon now requires node 6.* || >= 8.* (version 4.* will be EOL soon)
- 💥
plugins
default change fromtrue
tofalse
= Due to the inclusion ofthird_party
plugins (note below), it is better to specifically list the plugins needed (array) rather than importing all of them by default - ❗️
{{froala-editor}}
.method()
always returns a Promise = Previously the.method()
would return a Promise when the editor wasn't initialized and the resulting value if it was initialized. Now you can always expect a Promise to be returned. If you call an editor method from an event handler/action, ensure your code expects a promise. Eithercomponent.method('methodName').then()
orawait component.method('methodName')
- removed bower = All traces of bower have been removed from the addon and docs site!
- import
third_party
plugins = Froala recently added third-party plugins to the distributed package (within a different folder). Theplugins
option here will now also search that new folder for plugins. import
the test helper into test files = Ember recently revamped testing so now you canimport
thefillInFroalaEditor()
test helper into each test file directly instead of relying on injection from thestart-app.js
file- import assets via
node_modules
= Not a user-facing change, but the addon uses ember-cli 2.15+ way of importing assets fromnode_modules
instead of relying onFunnel
andMergeTrees
(two less deps now 😃) ember-fastboot
support = Went through the fastboot docs and made some code changes here to help minimize any possible errors when used in fastboot mode. Note that the editor itself is not fastboot compatible so it won't "render" until the browser does so.
Version 2.7.6-beta.2
Changes since v2.7.6-beta.1
- Changed default
ember-cli-build.js
config optionplugins
fromtrue
tofalse
(with warning if the app does not define the option). Figured this is a good move with the inclusion ofthird_party
plugins now and encourages users to specify which plugins they need specifically, reducing the build size. - Node 6.x or 8+ now required. ember-cli 3.0.0 updates somewhat forced this due to using
const
in a node file, but this was due to happen in the next couple months anyway. {{froala-editor}}
.method()
always returns a promise now. If you call an editor method from an event handler/action, ensure your code expects a promise. Eithercomponent.method('methodName').then()
orawait component.method('methodName')
- Continued ember-fastboot support Went through the fastboot docs and made some code changes here to help minimize any possible errors when used in fastboot mode. Note that the editor itself is not fastboot compatible so it won't "render" until the browser does so.
- Update to ember, ember-cli 3.0.0 Which then allowed the following...
- Move tests to the "Modern Ember Testing" https://dockyard.com/blog/2018/01/11/modern-ember-testing
- Enabled the ability to
import
the test helper into any test file https://dockyard.com/blog/2018/01/18/test-helpers-the-next-generation
This completes the planned changes so now is a good time to test this latest beta. 😄
Version 2.7.6-beta.1
- Update to latest ember versions, 2.18 (3.0 coming tomorrow however, will update again then)
- Supported ember / ember-cli version changed to 2.15+
- Docs moved to bootstrap 4
- All traces of bower have been removed (except for ember test scenarios, but that will change with 3.0 tomorrow)
- NPM assets are now
import
ed via ember-cli 2.15, instead of doing it with broccoli plugins - Ability to import Froala's
third_party
plugins #50
Version 2.7.5
"Wait, what happened to version 2.7.2 through 2.7.4??" - Fell off the release train with Froala Editor, getting back on.
- Bugfix #49 Trigger
contentChanged
event forfillInFroalaEditor
test helper
Next up; moving to the latest version of ember[-cli], removing need for bower, bootstrap 4 for docs site, plugin import bugfix, ember-cli linting error fixes, etc. Expect a beta release soon.
Version 2.7.1
No addon changes, new release to keep in line with froala-editor.
PS. Working on upstream changes to remove Bower dep here.
Version 2.7.0
No addon changes, new release to keep in line with froala-editor
.
Version 2.6.6
- Updated
ember
andember-cli
to 2.15 froala-editor
released 2.6.6, which this addon will install
Version 2.6.5
Minor release, no code changes, only changes to the docs site.
Version 2.6.4
- Updated
froala-editor
to 2.6.4 - Added test helper
fillInFroalaEditor()
#42 Thanks @rubycalling !
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