@inkeep/open-knowledge 0.0.0-dev-20260423022549 → 0.0.0-dev-20260423140112

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.
@@ -7,7 +7,20 @@
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8
8
  <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
9
9
  <title>Open Knowledge</title>
10
- <script type="module" crossorigin src="/assets/index-CcvrsPse.js"></script>
10
+ <!--
11
+ Editor-mode FOUC prevention. Reads the persisted mode synchronously
12
+ before React mounts so the first painted frame shows the user's
13
+ preferred editor (avoids flashing WYSIWYG before switching to Source).
14
+ Paired consumer: `src/editor/use-editor-mode.ts` (hook reads
15
+ `window.__OK_EDITOR_MODE__` once in its useState initializer).
16
+ Spec: specs/2026-04-21-editor-mode-persistence/SPEC.md §7.2.
17
+ Script body is on a single line with no inner newlines — biome's HTML
18
+ formatter reindents inline-script content on every pass (+4 spaces/run),
19
+ producing an infinite deny-loop at pre-commit. No-inner-newline form has
20
+ nothing for the formatter to reindent.
21
+ -->
22
+ <script>(() => { let mode = 'wysiwyg'; try { const raw = localStorage.getItem('ok-editor-mode-v1'); if (raw === 'wysiwyg' || raw === 'source') mode = raw; } catch {} window.__OK_EDITOR_MODE__ = mode; })();</script>
23
+ <script type="module" crossorigin src="/assets/index-JVP7Gc1X.js"></script>
11
24
  <link rel="modulepreload" crossorigin href="/assets/w3c-keyname-DLDSJn4E.js">
12
25
  <link rel="modulepreload" crossorigin href="/assets/panel-DTlG8EiB.js">
13
26
  <link rel="modulepreload" crossorigin href="/assets/dist-B2YW_ZWG.js">
@@ -15,7 +28,7 @@
15
28
  <link rel="modulepreload" crossorigin href="/assets/dist-CQbn9Fxc.js">
16
29
  <link rel="modulepreload" crossorigin href="/assets/clipboard-CdKkyvy1.js">
17
30
  <link rel="modulepreload" crossorigin href="/assets/toggle-group-kvG9skOM.js">
18
- <link rel="stylesheet" crossorigin href="/assets/index-lYAAGLdq.css">
31
+ <link rel="stylesheet" crossorigin href="/assets/index-D8GnBO4u.css">
19
32
  </head>
20
33
 
21
34
  <body class="antialiased">