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.
- Updated dependencies. #INT-3324
- 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
- Added rxjs ^7.4.0 as a peer dependency. Since last major release now uses rxjs v7 imports. #INT-3306
id
prop 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
licenseKey
prop. #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
cloudChannel
type. #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
ResizeEditor
to 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
allowedEvents
to specify what events are emitted by the component - Added
ignoreEvents
to blacklist events not to be emitted by the component
- Remove
change
event being emitted on initialization if the value is not changed by the editor
- Added
onInitNgModel
event - Use
input
instead ofkeyup
as 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
modelEvents
property to update NgModel
- Fixed event binding order.
- Upgraded jquery in dev dependencies in response to security alert.
- Added new
TINYMCE_SCRIPT_SRC
injection token. To be used in a dependency injection provider to specify an external version of TinyMCE to load
- Added new
outputFormat
property 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 setFormControl
pristine/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
disabled
attribute.
- Changed
inline
attribute 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
undo
andredo
events 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.