Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin="anonymous"></script>
<!-- load TinyMCE -->
<script
src="https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinymce/6/tinymce.min.js"
<script
src="https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinymce/8/tinymce.min.js"
referrerpolicy="origin"></script>
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Changed
- Set default cloudChannel to 8

## 2.1.0 - 2023-03-27

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ instead be distributed as an independent npm package.
* If you need detailed documentation on TinyMCE, see:
[TinyMCE Documentation](https://www.tiny.cloud/docs/).
* For the TinyMCE jQuery Quick Start, see:
[TinyMCE Documentation - jQuery Integration](https://www.tiny.cloud/docs/integrations/jquery/).
[TinyMCE Documentation - jQuery Integration](https://www.tiny.cloud/docs/tinymce/latest/jquery-cloud/).
* For our quick demos, check out the TinyMCE jQuery
[Storybook](https://tinymce.github.io/tinymce-jquery/).

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"react-dom": "^17.0.0",
"rimraf": "^4.4.1",
"rollup": "^3.20.2",
"tinymce": "^6.4.0",
"tinymce": "^8.0.0",
"tslib": "^2.5.0",
"typescript": "~4.8.3",
"webpack": "^5.9.0"
Expand Down
2 changes: 1 addition & 1 deletion src/demo/html/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>Page Title</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<script src="http://code.jquery.com/jquery-3.5.1.js" integrity="sha256-QWo7LDvxbWT2tbbQ97B53yJnYU3WhH/C8ycbRAkjPDc=" crossorigin="anonymous"></script>
<script src='../../../dist/index.js'></script>
<script src='../../../dist/tinymce-min.js'></script>
</head>
<body>
<textarea></textarea>
Expand Down
2 changes: 1 addition & 1 deletion src/main/ts/Integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const getScriptSrc = (settings: RawEditorExtendedSettings): string => {
if (typeof settings.script_url === 'string') {
return settings.script_url;
} else {
const channel = typeof settings.channel === 'string' ? settings.channel : '6';
const channel = typeof settings.channel === 'string' ? settings.channel : '8';
const apiKey = typeof settings.api_key === 'string' ? settings.api_key : 'no-api-key';
return `https://cdn.tiny.cloud/1/${apiKey}/tinymce/${channel}/tinymce.min.js`;
}
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11806,10 +11806,10 @@ timers-browserify@^2.0.4:
dependencies:
setimmediate "^1.0.4"

tinymce@^6.4.0:
version "6.4.0"
resolved "https://registry.yarnpkg.com/tinymce/-/tinymce-6.4.0.tgz#311658bdc74bc983db410c58270ef957c4f48652"
integrity sha512-A1IZKhEM7sS/je7M+SjKqa1UM59GzOxi2M5me8sYx9/VoSzCaAXOgTo1M1wQsu8dFbThbBgz9vZqBFqukhYyhg==
tinymce@^8.0.0:
version "8.0.0"
resolved "https://registry.yarnpkg.com/tinymce/-/tinymce-8.0.0.tgz#e6abd6bd31a2972f0a514462c281d4f7b2dae50e"
integrity sha512-E1OwCXXCzmZLx6sQVeMHdb61Hsp+7AxWtYstXp7Yw59Et4AdHQ0N36n7InVaYDmq2aBlCM8qkTQYKEqKgecP3A==

tmp@^0.2.1:
version "0.2.1"
Expand Down
Loading