MDL-84167 editor_tiny: Upgrade tiny to 7.7.1
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user