Skip to content

Commit

Permalink
Update to TinyMCE 7.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
spohlenz committed Nov 6, 2024
1 parent c3b80a5 commit 1198331
Show file tree
Hide file tree
Showing 52 changed files with 122 additions and 115 deletions.
17 changes: 12 additions & 5 deletions app/assets/source/tinymce/tinymce.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* TinyMCE version 7.4.1 (TBD)
* TinyMCE version 7.5.0 (2024-11-06)
*/

(function () {
Expand Down Expand Up @@ -19666,7 +19666,14 @@
getImplementation().close(notification);
});
});
editor.addShortcut('alt+F12', 'Focus to notification', () => getTopNotification().map(notificationApi => SugarElement.fromDom(notificationApi.getEl())).each(elm => focus$1(elm)));
editor.on('keydown', e => {
var _a;
const isF12 = ((_a = e.key) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === 'f12' || e.keyCode === 123;
if (e.altKey && isF12) {
e.preventDefault();
getTopNotification().map(notificationApi => SugarElement.fromDom(notificationApi.getEl())).each(elm => focus$1(elm));
}
});
};
registerEvents(editor);
return {
Expand Down Expand Up @@ -23678,7 +23685,7 @@

const isValidTextRange = rng => rng.collapsed && isText$b(rng.startContainer);
const getText = rng => trim$2(rng.toString().replace(/\u00A0/g, ' '));
const isWhitespace = chr => chr !== '' && ' \xA0\f\n\r\t\x0B'.indexOf(chr) !== -1;
const isWhitespace = chr => chr !== '' && ' \xA0\uFEFF\f\n\r\t\x0B'.indexOf(chr) !== -1;

const stripTrigger = (text, trigger) => text.substring(trigger.length);
const findTrigger = (text, index, trigger, includeWhitespace = false) => {
Expand Down Expand Up @@ -31616,8 +31623,8 @@
documentBaseURL: null,
suffix: null,
majorVersion: '7',
minorVersion: '4.1',
releaseDate: 'TBD',
minorVersion: '5.0',
releaseDate: '2024-11-06',
i18n: I18n,
activeEditor: null,
focusedEditor: null,
Expand Down
4 changes: 2 additions & 2 deletions lib/tinymce/rails/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module TinyMCE
module Rails
VERSION = "7.4.1"
TINYMCE_VERSION = "7.4.1"
VERSION = "7.5.0"
TINYMCE_VERSION = "7.5.0"
end
end
2 changes: 1 addition & 1 deletion vendor/assets/javascripts/tinymce/models/dom/model.js

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1198331

Please sign in to comment.