@ntlab/ntjs-assets 2.121.0 → 2.123.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/js/cdn.json +2 -2
- package/assets/js/tinymce/CHANGELOG.md +6 -0
- package/assets/js/tinymce/models/dom/model.js +1 -1
- package/assets/js/tinymce/plugins/accordion/plugin.js +1 -1
- package/assets/js/tinymce/plugins/advlist/plugin.js +1 -1
- package/assets/js/tinymce/plugins/anchor/plugin.js +1 -1
- package/assets/js/tinymce/plugins/autolink/plugin.js +1 -1
- package/assets/js/tinymce/plugins/autoresize/plugin.js +1 -1
- package/assets/js/tinymce/plugins/autosave/plugin.js +1 -1
- package/assets/js/tinymce/plugins/charmap/plugin.js +1 -1
- package/assets/js/tinymce/plugins/code/plugin.js +1 -1
- package/assets/js/tinymce/plugins/codesample/plugin.js +1 -1
- package/assets/js/tinymce/plugins/directionality/plugin.js +1 -1
- package/assets/js/tinymce/plugins/emoticons/plugin.js +1 -1
- package/assets/js/tinymce/plugins/fullscreen/plugin.js +1 -1
- package/assets/js/tinymce/plugins/help/plugin.js +2 -1
- package/assets/js/tinymce/plugins/help/plugin.min.js +1 -1
- package/assets/js/tinymce/plugins/image/plugin.js +1 -1
- package/assets/js/tinymce/plugins/importcss/plugin.js +1 -1
- package/assets/js/tinymce/plugins/insertdatetime/plugin.js +1 -1
- package/assets/js/tinymce/plugins/langs8/pt-PT.js +3 -3
- package/assets/js/tinymce/plugins/link/plugin.js +1 -1
- package/assets/js/tinymce/plugins/lists/plugin.js +1 -1
- package/assets/js/tinymce/plugins/media/plugin.js +1 -1
- package/assets/js/tinymce/plugins/nonbreaking/plugin.js +1 -1
- package/assets/js/tinymce/plugins/pagebreak/plugin.js +1 -1
- package/assets/js/tinymce/plugins/preview/plugin.js +1 -1
- package/assets/js/tinymce/plugins/quickbars/plugin.js +1 -1
- package/assets/js/tinymce/plugins/save/plugin.js +1 -1
- package/assets/js/tinymce/plugins/searchreplace/plugin.js +1 -1
- package/assets/js/tinymce/plugins/table/plugin.js +1 -1
- package/assets/js/tinymce/plugins/visualblocks/plugin.js +1 -1
- package/assets/js/tinymce/plugins/visualchars/plugin.js +1 -1
- package/assets/js/tinymce/plugins/wordcount/plugin.js +1 -1
- package/assets/js/tinymce/themes/silver/theme.js +11 -10
- package/assets/js/tinymce/themes/silver/theme.min.js +1 -1
- package/assets/js/tinymce/tinymce.js +20 -6
- package/assets/js/tinymce/tinymce.min.js +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* TinyMCE version 8.2.
|
|
2
|
+
* TinyMCE version 8.2.1 (2025-11-06)
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
(function () {
|
|
@@ -3465,6 +3465,8 @@
|
|
|
3465
3465
|
const isListItem$3 = matchNodeName$1('li');
|
|
3466
3466
|
const isDetails = matchNodeName$1('details');
|
|
3467
3467
|
const isSummary$1 = matchNodeName$1('summary');
|
|
3468
|
+
const ucVideoNodeName = 'uc-video';
|
|
3469
|
+
const isUcVideo = (el) => el.nodeName.toLowerCase() === ucVideoNodeName;
|
|
3468
3470
|
|
|
3469
3471
|
const defaultOptionValues = {
|
|
3470
3472
|
skipBogus: true,
|
|
@@ -13090,8 +13092,6 @@
|
|
|
13090
13092
|
}
|
|
13091
13093
|
};
|
|
13092
13094
|
|
|
13093
|
-
const ucVideoNodeName = 'uc-video';
|
|
13094
|
-
const isUcVideo = (el) => el.nodeName.toLowerCase() === ucVideoNodeName;
|
|
13095
13095
|
const elementSelectionAttr = 'data-mce-selected';
|
|
13096
13096
|
const controlElmSelector = `table,img,figure.image,hr,video,span.mce-preview-object,details,${ucVideoNodeName}`;
|
|
13097
13097
|
const abs = Math.abs;
|
|
@@ -34954,8 +34954,22 @@
|
|
|
34954
34954
|
}
|
|
34955
34955
|
return newRange;
|
|
34956
34956
|
};
|
|
34957
|
+
const getUcVideoClone = (ucVideo) => {
|
|
34958
|
+
const newElm = editor.getDoc().createElement('div');
|
|
34959
|
+
newElm.style.width = ucVideo.style.width;
|
|
34960
|
+
newElm.style.height = ucVideo.style.height;
|
|
34961
|
+
const ucVideoWidth = ucVideo.getAttribute('width');
|
|
34962
|
+
if (ucVideoWidth) {
|
|
34963
|
+
newElm.setAttribute('width', ucVideoWidth);
|
|
34964
|
+
}
|
|
34965
|
+
const ucVideoHeight = ucVideo.getAttribute('height');
|
|
34966
|
+
if (ucVideoHeight) {
|
|
34967
|
+
newElm.setAttribute('height', ucVideoHeight);
|
|
34968
|
+
}
|
|
34969
|
+
return newElm;
|
|
34970
|
+
};
|
|
34957
34971
|
const selectElement = (elm) => {
|
|
34958
|
-
const targetClone = elm.cloneNode(true);
|
|
34972
|
+
const targetClone = isUcVideo(elm) ? getUcVideoClone(elm) : elm.cloneNode(true);
|
|
34959
34973
|
const e = editor.dispatch('ObjectSelected', { target: elm, targetClone });
|
|
34960
34974
|
if (e.isDefaultPrevented()) {
|
|
34961
34975
|
return null;
|
|
@@ -40529,14 +40543,14 @@
|
|
|
40529
40543
|
* @property minorVersion
|
|
40530
40544
|
* @type String
|
|
40531
40545
|
*/
|
|
40532
|
-
minorVersion: '2.
|
|
40546
|
+
minorVersion: '2.1',
|
|
40533
40547
|
/**
|
|
40534
40548
|
* Release date of TinyMCE build.
|
|
40535
40549
|
*
|
|
40536
40550
|
* @property releaseDate
|
|
40537
40551
|
* @type String
|
|
40538
40552
|
*/
|
|
40539
|
-
releaseDate: '2025-
|
|
40553
|
+
releaseDate: '2025-11-06',
|
|
40540
40554
|
/**
|
|
40541
40555
|
* Collection of language pack data.
|
|
40542
40556
|
*
|