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.
EventObjinterface not being importable.licenseKeywas not defaulted togpl. #INT-3380
- Defaulted cloudChannel to
8. #INT-3351 - Updated peer dependency to support tinymce
8. #INT-3351
- Added 'readonly' property. #TINY-11907
- Updated dependencies. #INT-3324
- Fixed a bug where
[disabled]property was ignored while using[ngModel]. #INT-3328
- Moved tinymce dependency to be a optional peer dependency. #INT-3324
- Updated tinymce dev dependency to version ^7 from 5.10.7 so now all internal tinymce types point to version 7. #INT-3324
- The 'disabled' property is now mapped to editor's 'disabled' option if Tiny >= 7.6.0 is used. #TINY-11907
- Added rxjs ^7.4.0 as a peer dependency. Since last major release now uses rxjs v7 imports. #INT-3306
idprop no longer logs a console warning on any use. #INT-3299
- Support for Angular 16 & 17. Angular 15 is still supported via ^7.0.0 #INT-3274
- Support for the OnPush change detection strategy. #INT-2974
- Support for TinyMCE version 7. #INT-3292
- Added
licenseKeyprop. #INT-3292 - Added events
onInput,onCompositionEnd,onCompositionStart&onCompositionUpdate. #INT-3292 - Added a JSDoc link to the TinyMCE 7 Angular Technical Reference docs page. #INT-3292
- Updated Storybook to v8, as well as now using CSFv3 components. #INT-3274
- Improved
cloudChanneltype. #INT-3292
- Updated CI library to latest
- Updated dependencies. #INT-3274
- Usage of RxJS deprecated operators. #INT-3274
- Support for Angular 14
- Disabling bug
- License changed to MIT
- Default cloud channel to '6'
- Dependencies issues having to manually install tinymce to get Types
- Support for Angular 13
- Types
- Performance of removing event listeners
- Initializing the editor when component has been destroyed
- Setting disabling state
- 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.
- Changed
inlineattribute to accept truthy values, so you can now do this:<editor inline></editor>instead of the earlier<editor [inline]="true"></editor>.
- Fixed bug where textarea was being added to editor content if id was set.
- 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.