- Fixed event binding to only rebind handler on changes to the specific property instead of any property.
- Updated TinyMCE types to 5.6 release.
- Fixed external changes not generating undo levels
- Fixed an issue where the component would throw an error when unmounted while loading
- Added types from TinyMCE 5.5 release.
- Added
scriptLoading
prop with settingsasync
,defer
anddelay
to modify the loading behaviour of the TinyMCE script tag
- Upgraded dependencies to latest available.
- Fixed an issue that allowed events to be fired during
componentWillUnmount
- Remove
util
module from dependencies by purging usage in code. - Upgraded jquery in dev dependencies in response to security alert.
- Added new
tinymceScriptSrc
prop for specifying an external version of TinyMCE to lazy load
- Added new
outputFormat
prop for specifying the format of the content emitted via theonEditorChange
event
- Fixed an issue that caused
onEditorChange
to fire multiple times
- Changed referrer policy to origin to allow cloud caching
- Fixed an issue that made the editor ignore new event handlers provided through props
- Removed use of deprecated lifecycle hooks
componentWillMount
andcomponentWillReceiveProps
- Changed the CDN URL to use
cdn.tiny.cloud
- Removed preinstall script
- Added the editor as a second argument to
onEditorChange
- Exported Typescript prop types
- Updated readme on cloud channels.
- Changed default cloudChannel to
'5'
.
- Changed
react
andreact-dom
to be peerDependencies and devDependencies.
- Changed
react
andreact-dom
to be peerDependencies.
- Loosened cloudChannel proptype to take any string to be able to use the locked version channels.
- Added
textareaName
prop that sets the name attribute on the textarea for use in forms.
- Added
disabled
prop that sets the editor into readonly mode.
- Fixed broken links in readme.
- Added a nullcheck in componentWillUnmount to check that tinymce is availabl before running remove.
- Removed onPreInit shorthand as it never worked.
- Fixed a bug with onInit not working.
- Fixed a bug with values set while the editor was initializing.
- No change, pushed to fix missing readme on npm.
- Added functionality so you can use the editor as a controlled component by setting the
value
property and using theonEditorChange
event.
- Fixed bug where is wasn't possible to set inline in the init object, only on the shorthand.
- Added
plugins
andtoolbar
shorthands.
- Use
target
on element instead ofselector
in init config.
- Fix so init setup callback gets called like it should.
- Added auto-loading of TinyMCE from TinyMCE Cloud
- Added check for
initialValue
prop to prevent javascript error that was shown whentinymce.setContent
was called with undefined.
- Accidentally published 2.0.1 without building first, published this version to fix that and added prepare hook to prevent the same thing from happening again.
- Added description to package.json and improved readme wording.
- BREAKING! Switched
value
prop toinitialValue
to make it clearer what it actually does. - Only bind whitelisted events.
- Add support for
tagName
prop when using editor inline to define what element you want to initialize the editor on.
- Initial Release.