umberto 10.6.0 → 10.6.1

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/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ## [10.6.1](https://github.com/cksource/umberto/compare/v10.6.0...v10.6.1) (June 18, 2026)
5
+
6
+ ### Other changes
7
+
8
+ * Updated homepage link.
9
+ * Restored the web-based Google Tag Manager snippets in both Gloria and legacy Umberto themes.
10
+
11
+
4
12
  ## [10.6.0](https://github.com/cksource/umberto/compare/v10.5.1...v10.6.0) (June 8, 2026)
5
13
 
6
14
  ### Features
@@ -36,13 +44,6 @@ Changelog
36
44
 
37
45
  * Fixed URL in the dropdown for LTS item to have absolute URL to pass documentation validation.
38
46
 
39
-
40
- ## [10.4.0](https://github.com/cksource/umberto/compare/v10.3.0...v10.4.0) (April 9, 2026)
41
-
42
- ### Features
43
-
44
- * Added the LTS edition to the docs product picker.
45
-
46
47
  ---
47
48
 
48
49
  To see all releases, visit the [release page](https://github.com/cksource/umberto/releases).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umberto",
3
- "version": "10.6.0",
3
+ "version": "10.6.1",
4
4
  "description": "CKSource Documentation builder",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -12,8 +12,8 @@ mixin header({ withChooseProject = true, className = '' } = {})
12
12
  .c-header__mobile.l-hide-desktop
13
13
  .c-header__mobile-brand
14
14
  a.b-link.u-display-inline-flex(
15
- title='Navigate to the CKEditor Ecosystem Documentation homepage',
16
- href=relative_url(page.path, 'index.html')
15
+ title='Navigate to the CKEditor homepage',
16
+ href='https://ckeditor.com'
17
17
  )
18
18
  +inline-svg({ file: 'ckeditor-logo', ariaHidden: true, className: 'c-header__brand-logo' })
19
19
 
@@ -39,8 +39,8 @@ mixin header({ withChooseProject = true, className = '' } = {})
39
39
  .c-header__brand-row
40
40
  .c-header__brand-row-selector.u-flex-horizontal.u-align-items-center
41
41
  a.b-link.u-display-inline-flex(
42
- title='Navigate to the CKEditor Ecosystem Documentation homepage',
43
- href=relative_url(page.path, 'index.html')
42
+ title='Navigate to the CKEditor homepage',
43
+ href='https://ckeditor.com'
44
44
  )
45
45
  +inline-svg({ file: 'ckeditor-logo', ariaHidden: true, className: 'c-header__brand-logo' })
46
46
 
@@ -1,4 +1,4 @@
1
1
  mixin google-tag-manager-noscript()
2
2
  if googletagmanager && googletagmanager.gtm
3
3
  noscript
4
- iframe( src='https://load.site.ckeditor.com/ns.html?id=' + googletagmanager.gtm height='0' width='0' style='display:none;visibility:hidden' )
4
+ iframe( src='https://www.googletagmanager.com/ns.html?id=' + googletagmanager.gtm height='0' width='0' style='display:none;visibility:hidden' )
@@ -1,38 +1,14 @@
1
1
  if googletagmanager
2
2
  script.
3
3
  if (!{ JSON.stringify(googletagmanager.domains) }.indexOf(location.hostname) !== -1) {
4
- !function() {
5
- "use strict";
6
- function l(e) { for (var t = e, r = 0, n = document.cookie.split(";"); r < n.length; r++) { var o = n[r].split("="); if (o[0].trim() === t) return o[1]; } }
7
- function s(e) { return localStorage.getItem(e); }
8
- function u(e) { return window[e]; }
9
- function A(e, t) { e = document.querySelector(e); return t ? null == e ? void 0 : e.getAttribute(t) : null == e ? void 0 : e.textContent; }
10
- var e = window, t = document, r = "script", n = "dataLayer",
11
- o = "https://site.ckeditor.com",
12
- a = "https://load.site.ckeditor.com",
13
- i = "9ao1wxbphqbpj",
14
- c = "dy7f4ho=AxRfNjw9TzMsIzFHJFYURVheU1cMHl8bARUGGBwfEFYJHw8%3D",
15
- g = "cookie", v = "_stape_uid", E = "", d = !1;
16
- try {
17
- var d = !!g && (m = navigator.userAgent, !!(m = new RegExp("Version/([0-9._]+)(.*Mobile)?.*Safari.*").exec(m))) && 16.4 <= parseFloat(m[1]),
18
- f = "stapeUserId" === g,
19
- I = d && !f
20
- ? function(e, t, r) {
21
- void 0 === t && (t = "");
22
- var n = { cookie: l, localStorage: s, jsVariable: u, cssSelector: A }, t = Array.isArray(t) ? t : [t];
23
- if (e && n[e]) { for (var o = n[e], a = 0, i = t; a < i.length; a++) { var c = i[a], c = r ? o(c, r) : o(c); if (c) return c; } }
24
- else { console.warn("invalid uid source", e); }
25
- }(g, v, E)
26
- : void 0;
27
- d = d && (!!I || f);
28
- } catch(e) { console.error(e); }
29
- var m = e,
30
- g = (m[n] = m[n] || [], m[n].push({ "gtm.start": (new Date).getTime(), event: "gtm.js" }), t.getElementsByTagName(r)[0]),
31
- v = I ? "&bi=" + encodeURIComponent(I) : "",
32
- E = t.createElement(r),
33
- f = (d && (i = 8 < i.length ? i.replace(/([a-z]{8}$)/, "kp$1") : "kp" + i), !d && a ? a : o);
34
- E.async = !0;
35
- E.src = f + "/" + i + ".js?" + c + v;
36
- null != (e = g.parentNode) && e.insertBefore(E, g);
37
- }();
4
+ (function (w, d, s, l, i) {
5
+ w[l] = w[l] || [];
6
+ w[l].push({'gtm.start': new Date().getTime(), event: 'gtm.js'});
7
+ var f = d.getElementsByTagName(s)[0],
8
+ j = d.createElement(s),
9
+ dl = l != 'dataLayer' ? '&l=' + l : '';
10
+ j.async = true;
11
+ j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
12
+ f.parentNode.insertBefore(j, f);
13
+ })( window, document, 'script', 'dataLayer', '!{ googletagmanager.gtm }' );
38
14
  }
@@ -1,38 +1,14 @@
1
1
  if googletagmanager
2
2
  script.
3
3
  if (!{ JSON.stringify(googletagmanager.domains) }.indexOf(location.hostname) !== -1) {
4
- !function() {
5
- "use strict";
6
- function l(e) { for (var t = e, r = 0, n = document.cookie.split(";"); r < n.length; r++) { var o = n[r].split("="); if (o[0].trim() === t) return o[1]; } }
7
- function s(e) { return localStorage.getItem(e); }
8
- function u(e) { return window[e]; }
9
- function A(e, t) { e = document.querySelector(e); return t ? null == e ? void 0 : e.getAttribute(t) : null == e ? void 0 : e.textContent; }
10
- var e = window, t = document, r = "script", n = "dataLayer",
11
- o = "https://site.ckeditor.com",
12
- a = "https://load.site.ckeditor.com",
13
- i = "9ao1wxbphqbpj",
14
- c = "dy7f4ho=AxRfNjw9TzMsIzFHJFYURVheU1cMHl8bARUGGBwfEFYJHw8%3D",
15
- g = "cookie", v = "_stape_uid", E = "", d = !1;
16
- try {
17
- var d = !!g && (m = navigator.userAgent, !!(m = new RegExp("Version/([0-9._]+)(.*Mobile)?.*Safari.*").exec(m))) && 16.4 <= parseFloat(m[1]),
18
- f = "stapeUserId" === g,
19
- I = d && !f
20
- ? function(e, t, r) {
21
- void 0 === t && (t = "");
22
- var n = { cookie: l, localStorage: s, jsVariable: u, cssSelector: A }, t = Array.isArray(t) ? t : [t];
23
- if (e && n[e]) { for (var o = n[e], a = 0, i = t; a < i.length; a++) { var c = i[a], c = r ? o(c, r) : o(c); if (c) return c; } }
24
- else { console.warn("invalid uid source", e); }
25
- }(g, v, E)
26
- : void 0;
27
- d = d && (!!I || f);
28
- } catch(e) { console.error(e); }
29
- var m = e,
30
- g = (m[n] = m[n] || [], m[n].push({ "gtm.start": (new Date).getTime(), event: "gtm.js" }), t.getElementsByTagName(r)[0]),
31
- v = I ? "&bi=" + encodeURIComponent(I) : "",
32
- E = t.createElement(r),
33
- f = (d && (i = 8 < i.length ? i.replace(/([a-z]{8}$)/, "kp$1") : "kp" + i), !d && a ? a : o);
34
- E.async = !0;
35
- E.src = f + "/" + i + ".js?" + c + v;
36
- null != (e = g.parentNode) && e.insertBefore(E, g);
37
- }();
4
+ (function (w, d, s, l, i) {
5
+ w[l] = w[l] || [];
6
+ w[l].push({'gtm.start': new Date().getTime(), event: 'gtm.js'});
7
+ var f = d.getElementsByTagName(s)[0],
8
+ j = d.createElement(s),
9
+ dl = l != 'dataLayer' ? '&l=' + l : '';
10
+ j.async = true;
11
+ j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
12
+ f.parentNode.insertBefore(j, f);
13
+ })( window, document, 'script', 'dataLayer', '!{ googletagmanager.gtm }' );
38
14
  }
@@ -4,7 +4,7 @@ if googletagmanager && googletagmanager.gtm
4
4
 
5
5
  //- Google Tag Manager (noscript)
6
6
  noscript
7
- iframe( src="https://load.site.ckeditor.com/ns.html?id=" + googletagmanager.gtm height="0" width="0" style="display:none;visibility:hidden" )
7
+ iframe( src="https://www.googletagmanager.com/ns.html?id=" + googletagmanager.gtm height="0" width="0" style="display:none;visibility:hidden" )
8
8
  //- End Google Tag Manager (noscript)
9
9
 
10
10
  header.top( data-project= projectLocals ? projectLocals.projectSlug : undefined )