@ckeditor/ckeditor5-utils 49.1.0-alpha.1 → 49.1.0-alpha.3
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/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -915,8 +915,8 @@ function formatConsoleArguments(errorName, data) {
|
|
|
915
915
|
/**
|
|
916
916
|
* @module utils/version
|
|
917
917
|
*/
|
|
918
|
-
const version = "49.1.0-alpha.
|
|
919
|
-
const releaseDate = new Date(2026, 9,
|
|
918
|
+
const version = "49.1.0-alpha.3";
|
|
919
|
+
const releaseDate = new Date(2026, 9, 31);
|
|
920
920
|
/* v8 ignore next -- @preserve */
|
|
921
921
|
if (globalThis.CKEDITOR_VERSION)
|
|
922
922
|
/**
|
|
@@ -6804,7 +6804,7 @@ async function collectStylesheets(stylesheets) {
|
|
|
6804
6804
|
function getEditorStyles() {
|
|
6805
6805
|
const editorStyles = [];
|
|
6806
6806
|
const editorCSSVariables = [];
|
|
6807
|
-
for (const styleSheet of Array.from(document.styleSheets)) if (styleSheet.ownerNode
|
|
6807
|
+
for (const styleSheet of Array.from(document.styleSheets)) if (styleSheet.ownerNode?.hasAttribute("data-cke")) {
|
|
6808
6808
|
for (const rule of Array.from(styleSheet.cssRules)) if (rule.cssText.indexOf(".ck-content") !== -1) editorStyles.push(rule.cssText);
|
|
6809
6809
|
else if (rule.cssText.indexOf(":root") !== -1) editorCSSVariables.push(rule.cssText);
|
|
6810
6810
|
}
|