mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 18:29:39 +02:00
add p2p support for HLS https://github.com/Novage/p2p-media-loader
This commit is contained in:
parent
64c36d9f4e
commit
0d0338876d
1197 changed files with 121461 additions and 179724 deletions
15
node_modules/tinymce/plugins/link/plugin.js
generated
vendored
15
node_modules/tinymce/plugins/link/plugin.js
generated
vendored
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* TinyMCE version 6.2.0 (2022-09-08)
|
||||
* TinyMCE version 6.3.1 (2022-12-06)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
|
@ -424,8 +424,17 @@
|
|||
const isOnlyTextSelected = editor => {
|
||||
const inlineTextElements = editor.schema.getTextInlineElements();
|
||||
const isElement = elm => elm.nodeType === 1 && !isAnchor(elm) && !has(inlineTextElements, elm.nodeName.toLowerCase());
|
||||
const elements = collectNodesInRange(editor.selection.getRng(), isElement);
|
||||
return elements.length === 0;
|
||||
const isInBlockAnchor = getAnchorElement(editor).exists(anchor => anchor.hasAttribute('data-mce-block'));
|
||||
if (isInBlockAnchor) {
|
||||
return false;
|
||||
}
|
||||
const rng = editor.selection.getRng();
|
||||
if (!rng.collapsed) {
|
||||
const elements = collectNodesInRange(rng, isElement);
|
||||
return elements.length === 0;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
const isImageFigure = elm => isNonNullable(elm) && elm.nodeName === 'FIGURE' && /\bimage\b/i.test(elm.className);
|
||||
const getLinkAttrs = data => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue