All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Types
- Updated dependencies
- Updated dependencies
- Event
ResizeEditorto event handler - Warning on multiple ediotrs with same Id
- Beehive-flow release process
- Support for Angular 11
- Adopted beehive-flow release process
- Support for Angular 11
- Added
allowedEventsto specify what events are emitted by the component - Added
ignoreEventsto blacklist events not to be emitted by the component
- Remove
changeevent being emitted on initialization if the value is not changed by the editor
- Added
onInitNgModelevent - Use
inputinstead ofkeyupas default modelEvent
- Compatibility with Angular ^10.0.0 compatibility
- Changed peer dependencies to support Angular 9 and 10
- Setting the initial value on the editor now propagates the editor's content
- Added
modelEventsproperty to update NgModel
- Fixed event binding order.
- Upgraded jquery in dev dependencies in response to security alert.
- Added new
TINYMCE_SCRIPT_SRCinjection token. To be used in a dependency injection provider to specify an external version of TinyMCE to load
- Added new
outputFormatproperty for specifying the format of content emitted to form controls
- Added tslib as a dependency. Inlined tslib helpers caused an issue for the Angular Ivy compiler
- Changed peer dependencies to support Angular 5
- Changed referrer policy to origin to allow cloud caching
- Added a getter for obtaining a reference to the editor
- Fixed a bug that made EventEmitters run outside of NgZone. Patch contributed by garrettld #GH-95
- Angular 8 support
- Changed the CDN URL to use
cdn.tiny.cloud
- Fixed a bug where
ControlValueAccessor.writeValue()or setting content programmatically would setFormControlpristine/dirty flags
- Changed default cloudChannel to
'5'.
- Add EditorComponent to public api.
- Fixed a bug where
FormGroup.reset()didn't clear the editor content when used in a formgroup. Patch contributed by nishanthkarthik.
- Make editor always invoke touched callback on blur. Patch contributed by joensindholt
- Improved documentation.
- Angular 7 support
- Fixed incorrect documentation in readme.md file.
- Added platform detection to make the package work better with SSR.
- Added support for disabling the editor via the
disabledattribute.
- Fixed bug where textarea was being added to editor content if id was set.
- Changed
inlineattribute to accept truthy values, so you can now do this:<editor inline></editor>instead of the earlier<editor [inline]="true"></editor>.
- Fixed broken links in readme.
- Angular 6 support
- rxjs version 6
- Added
undoandredoevents to ngModel onChangeCallback.
- Added null check before removing editor to check that tinymce is actually available.
- Fixed bug with onInit not firing and removed onPreInit shorthand.
- Changed so tinymce.init is run outside of angular with ngzone.
- Fixed bug where is wasn't possible to set inline in the init object, only on the shorthand.
- Fixed bug where the component threw errors because it tried to setContent on an editor that had not been initialized fully.
- Fixed bug where the component threw errors on change when not used together with the forms module.