MDL-84167 editor_tiny: Upgrade tiny to 7.7.1

This commit is contained in:
meirzamoodle
2025-03-20 09:22:12 +07:00
parent c64e967ce6
commit 0331bd777d
120 changed files with 8083 additions and 4310 deletions
@@ -1,5 +1,5 @@
/**
* TinyMCE version 7.3.0 (2024-08-07)
* TinyMCE version 7.7.1 (2025-03-05)
*/
(function () {
@@ -80,7 +80,7 @@
editor.selection.collapse(false);
};
const insertDateTime = (editor, format) => {
if (shouldInsertTimeElement(editor)) {
if (shouldInsertTimeElement(editor) && editor.selection.isEditable()) {
const userTime = getDateTime(editor, format);
let computerTime;
if (/%[HMSIp]/.test(format)) {