mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 10:19:24 +02:00
npm update
This commit is contained in:
parent
0cdd3e9fee
commit
4696ba952f
1437 changed files with 32727 additions and 1248226 deletions
7
node_modules/tinymce/plugins/quickbars/plugin.js
generated
vendored
7
node_modules/tinymce/plugins/quickbars/plugin.js
generated
vendored
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* TinyMCE version 6.4.2 (2023-04-26)
|
||||
* TinyMCE version 6.6.2 (2023-08-09)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
|
@ -402,8 +402,9 @@
|
|||
};
|
||||
|
||||
const addToEditor = editor => {
|
||||
const isEditable = node => editor.dom.getContentEditableParent(node) !== 'false';
|
||||
const isImage = node => node.nodeName === 'IMG' || node.nodeName === 'FIGURE' && /image/i.test(node.className);
|
||||
const isEditable = node => editor.dom.isEditable(node);
|
||||
const isInEditableContext = el => isEditable(el.parentElement);
|
||||
const isImage = node => node.nodeName === 'IMG' || node.nodeName === 'FIGURE' && /image/i.test(node.className) && isInEditableContext(node);
|
||||
const imageToolbarItems = getImageToolbarItems(editor);
|
||||
if (imageToolbarItems.length > 0) {
|
||||
editor.ui.registry.addContextToolbar('imageselection', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue