Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tinymce/tinymce-react

Package Overview
Dependencies
Maintainers
2
Versions
365
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinymce/tinymce-react - npm Package Compare versions

Comparing version 4.3.0-rc.20230118024111888.sha6f26fe9 to 4.3.0

78

CHANGELOG.md
# Change log
All notable changes to this project will be documented in this file.

@@ -8,2 +9,5 @@

## Unreleased
## 4.3.0 - 2023-01-18
### Added

@@ -13,3 +17,3 @@ - Added events `onScriptsLoad` and `onScriptsLoadError` for the loading of the script tags when no `tinymce` global is available.

### Changed
- Changed `tinymceScriptSrc` prop so it can now accept an array of scripts to make hybrid mode easier to use.
- Changed `tinymceScriptSrc` prop so it can now accept an array of scripts to make hybrid mode easier to use.
An empty array will avoid loading scripts but will call `onScriptsLoadError` when `tinymce` is missing.

@@ -22,2 +26,3 @@

## 4.2.0 - 2022-08-03
### Added

@@ -27,3 +32,3 @@ - Added prop for the event `CommentChange`.

### Fixed
- Added `CommentChange` to the list of events that trigger the `onEditorChange` handler.
- Added `CommentChange` to the list of events that trigger the `onEditorChange` handler.
- Source the tinymce object from the window associated with the target element.

@@ -33,2 +38,3 @@ - Updated dependencies.

## 4.1.0 - 2022-05-12
### Added

@@ -43,2 +49,3 @@ - Added props for the events `SkinLoadError`, `ThemeLoadError`, `ModelLoadError`, `PluginLoadError`, `IconsLoadError` and `LanguageLoadError`.

## 4.0.0 - 2022-04-08
### Changed

@@ -52,2 +59,3 @@ - License changed to MIT (from Apache 2) this matches TinyMCE 6 license

## 3.14.0 - 2022-04-04
### Changed

@@ -60,2 +68,3 @@ - Allow react version "^18.0.0"

## 3.13.1 - 2022-01-20
### Fixed

@@ -67,2 +76,3 @@ - Updated dependencies

## 3.13.0 - 2021-10-06
### Added

@@ -72,2 +82,3 @@ - Added new `rollback` prop for changing the delay after which a rollback is performed (when value and editor content don't match) or disabling it completely.

## 3.12.8 - 2021-10-06
### Changed

@@ -80,7 +91,9 @@ - Wait 10 seconds (increased from 1) for the target element to be in the DOM before giving up.

## 3.12.7 - 2021-10-05
### Fixed
- The integration will now initialize in a shadow dom.
- The integration will now initialize in a shadow dom.
- Updated dependencies
## 3.12.6 - 2021-05-20
### Fixed

@@ -90,2 +103,3 @@ - As the tinymce dependency is only used for types allow all versions after 5.5.1 when types were first added, but prefer the latest when unspecified.

## 3.12.5 - 2021-05-20
### Fixed

@@ -97,2 +111,3 @@ - Fixed ignoring the `toolbar` prop when it contains a falsy value when it should only be ignored if it is undefined or null.

## 3.12.4 - 2021-05-12
### Fixed

@@ -103,2 +118,3 @@ - Allow use of react version "^16.7.0" as well as "^17.0.1" to correct the unintended breaking change introduced in release 3.9.

## 3.12.3 - 2021-04-30
### Fixed

@@ -110,2 +126,3 @@ - Avoid trying to get a bookmark for an unfocused inline editor

## 3.12.2 - 2021-04-01
### Fixed

@@ -117,2 +134,3 @@ - Slowed down the change rollback to 200 milliseconds to allow async frameworks a chance to set the value. #INT-2475

## 3.12.1 - 2021-03-30
### Fixed

@@ -123,2 +141,3 @@ - Re-added change event as a trigger of `onEditorChange` so toggling formatting will be detected. #INT-2473

## 3.12.0 - 2021-03-26
### Added

@@ -132,2 +151,3 @@ - Storybook demo for a controlled component with a fixed value. INT-2352

## 3.11.1 - 2021-03-24
### Fixed

@@ -138,2 +158,3 @@ - Stopped inline editor grabbing focus when the value is set

## 3.11.0 - 2021-03-23
### Changed

@@ -152,2 +173,3 @@ - Updates to `initialValue` after editor initialization will now be detected and applied and will result in a complete reset of undo state. #INT-2367

## 3.10.4 - 2021-03-10
### Fixed

@@ -158,2 +180,3 @@ - Check for editor changes on `"compositionend"` event to more accurately trigger `onEditorChange`. #INT-2348

## 3.10.3 - 2021-03-04
### Fixed

@@ -163,2 +186,3 @@ - Updated dependencies to latest available

## 3.10.2 - 2021-02-20
### Fixed

@@ -168,2 +192,3 @@ - Event handlers are registered at setup time so props like `onBeforeRenderUI` will now be called. #INT-2325

## 3.10.1 - 2021-02-01
### Fixed

@@ -173,2 +198,3 @@ - Fixed CI build

## 3.10.0 - 2021-02-01
### Fixed

@@ -178,2 +204,3 @@ - Fixed event binding to lookup handlers at call time instead of rebinding on every change.

## 3.9.0 - 2021-01-11
### Changed

@@ -185,2 +212,3 @@ - Adopted beehive-flow branching and versioning process/tooling.

## 3.8.4 - 2020-12-16
### Fixed

@@ -190,2 +218,3 @@ - Updated dependencies to latest available

## 3.8.3 - 2020-12-08
### Changed

@@ -198,2 +227,3 @@ - Updated TinyMCE types to 5.6 release.

## 3.8.2 - 2020-12-03
### Fixed

@@ -203,2 +233,3 @@ - Fixed external changes not generating undo levels

## 3.8.1 - 2020-10-22
### Fixed

@@ -208,2 +239,3 @@ - Fixed an issue where the component would throw an error when unmounted while loading

## 3.8.0 - 2020-10-08
### Added

@@ -213,2 +245,3 @@ - Added types from TinyMCE 5.5 release.

## 3.7.0 - 2020-09-28
### Added

@@ -218,2 +251,3 @@ - Added `scriptLoading` prop with settings `async`, `defer` and `delay` to modify the loading behaviour of the TinyMCE script tag

## 3.6.1 - 2020-09-07
### Fixed

@@ -223,2 +257,3 @@ - Upgraded dependencies to latest available.

## 3.6.0 - 2020-05-07
### Fixed

@@ -228,2 +263,3 @@ - Fixed an issue that allowed events to be fired during `componentWillUnmount`

## 3.5.1 - 2020-04-30
### Fixed

@@ -234,2 +270,3 @@ - Remove `util` module from dependencies by purging usage in code.

## 3.5.0 - 2020-02-24
### Added

@@ -239,2 +276,3 @@ - Added new `tinymceScriptSrc` prop for specifying an external version of TinyMCE to lazy load

## 3.4.0 - 2020-01-31
### Added

@@ -244,2 +282,3 @@ - Added new `outputFormat` prop for specifying the format of the content emitted via the `onEditorChange` event

## 3.3.2 - 2019-08-29
### Fixed

@@ -249,2 +288,3 @@ - Fixed an issue that caused `onEditorChange` to fire multiple times

## 3.3.1 - 2019-08-16
### Fixed

@@ -254,2 +294,3 @@ - Changed referrer policy to origin to allow cloud caching

## 3.3.0 - 2019-07-29
### Fixed

@@ -260,2 +301,3 @@ - Fixed an issue that made the editor ignore new event handlers provided through props

## 3.2.0 - 2019-06-04
### Fixed

@@ -265,2 +307,3 @@ - Changed the CDN URL to use `cdn.tiny.cloud`

## 3.1.1 - 2019-05-10
### Changed

@@ -270,2 +313,3 @@ - Removed preinstall script

## 3.1.0 - 2019-05-10
### Changed

@@ -276,2 +320,3 @@ - Added the editor as a second argument to `onEditorChange`

## 3.0.1 - 2019-02-11
### Changed

@@ -281,2 +326,3 @@ - Updated readme on cloud channels.

## 3.0.0 - 2019-02-11
### Changed

@@ -286,2 +332,3 @@ - Changed default cloudChannel to `'5'`.

## 2.6.1 - 2019-02-07
### Fixed

@@ -291,2 +338,3 @@ - Changed `react` and `react-dom` to be peerDependencies and devDependencies.

## 2.6.0 - 2019-02-07
### Fixed

@@ -296,2 +344,3 @@ - Changed `react` and `react-dom` to be peerDependencies.

## 2.5.0 - 2019-01-24
### Changed

@@ -301,2 +350,3 @@ - Loosened cloudChannel proptype to take any string to be able to use the locked version channels.

## 2.4.0 - 2018-11-02
### Added

@@ -306,2 +356,3 @@ - Added `textareaName` prop that sets the name attribute on the textarea for use in forms.

## 2.3.0 - 2018-10-01
### Added

@@ -311,2 +362,3 @@ - Added `disabled` prop that sets the editor into readonly mode.

## 2.2.6 - 2018-09-03
### Fixed

@@ -316,2 +368,3 @@ - Fixed broken links in readme.

## 2.2.5 - 2018-04-23
### Fixed

@@ -321,2 +374,3 @@ - Added a nullcheck in componentWillUnmount to check that tinymce is available before running remove.

## 2.2.4 - 2018-04-06
### Fixed

@@ -326,2 +380,3 @@ - Removed onPreInit shorthand as it never worked.

## 2.2.3 - 2018-04-06
### Fixed

@@ -331,2 +386,3 @@ - Fixed a bug with onInit not working.

## 2.2.2 - 2018-04-05
### Fixed

@@ -336,2 +392,3 @@ - Fixed a bug with values set while the editor was initializing.

## 2.2.1 - 2018-04-03
### Fixed

@@ -341,2 +398,3 @@ - No change, pushed to fix missing readme on npm.

## 2.2.0 - 2018-02-19
### Added

@@ -346,2 +404,3 @@ - Added functionality so you can use the editor as a controlled component by setting the `value` property and using the `onEditorChange` event.

## 2.1.4 - 2018-02-16
### Fixed

@@ -351,2 +410,3 @@ - Fixed bug where is wasn't possible to set inline in the init object, only on the shorthand.

## 2.1.3 - 2018-01-17
### Added

@@ -356,2 +416,3 @@ - Added `plugins` and `toolbar` shorthands.

## 2.1.2 - 2018-01-08
### Changed

@@ -361,2 +422,3 @@ - Use `target` on element instead of `selector` in init config.

## 2.1.1 - 2018-01-03
### Added

@@ -366,2 +428,3 @@ - Fix so init setup callback gets called like it should.

## 2.1.0 - 2017-12-18
### Added

@@ -371,2 +434,3 @@ - Added auto-loading of TinyMCE from TinyMCE Cloud

## 2.0.3 - 2017-11-22
### Fixed

@@ -376,2 +440,3 @@ - Added check for `initialValue` prop to prevent javascript error that was shown when `tinymce.setContent` was called with undefined.

## 2.0.2 - 2017-11-22
### Fixed

@@ -381,2 +446,3 @@ - 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.

## 2.0.1 - 2017-11-21
### Added

@@ -386,6 +452,9 @@ - Added description to package.json and improved readme wording.

## 2.0.0 - 2017-11-08
### Added
- Add support for `tagName` prop when using editor inline to define what element you want to initialize the editor on.
### Changed
- *BREAKING!* Switched `value` prop to `initialValue` to make it clearer what it actually does.
- *BREAKING!* Switched `value` prop to `initialValue` to make it clearer what it actually does.
### Fixed

@@ -395,3 +464,4 @@ - Only bind whitelisted events.

## 1.0.0 - 2017-11-07
### Added
- Initial Release.

2

package.json

@@ -73,4 +73,4 @@ {

},
"version": "4.3.0-rc.20230118024111888.sha6f26fe9",
"version": "4.3.0",
"name": "@tinymce/tinymce-react"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc