1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-04 18:29:39 +02:00

Update node modules

This commit is contained in:
Daniel Neto 2024-10-27 13:39:07 -03:00
parent d429e6f7d8
commit c05a371397
1993 changed files with 9729 additions and 44041 deletions

View file

@ -1,5 +1,5 @@
/**
* TinyMCE version 7.3.0 (2024-08-07)
* TinyMCE version 7.4.1 (TBD)
*/
(function () {
@ -110,7 +110,7 @@
const voidElements = editor.schema.getVoidElements();
const autoLinkPattern = getAutoLinkPattern(editor);
const {dom, selection} = editor;
if (dom.getParent(selection.getNode(), 'a[href]') !== null) {
if (dom.getParent(selection.getNode(), 'a[href]') !== null || editor.mode.isReadOnly()) {
return null;
}
const rng = selection.getRng();