@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.
- package/dist/cli.mjs +58 -56
- package/dist/constants-Db6innzo.mjs +2 -0
- package/dist/index.mjs +1 -1
- package/dist/{init-CN7wn7Mw.mjs → init-BKZIAmeG.mjs} +2 -2
- package/dist/init-BVm9-dJ5.mjs +1 -0
- package/dist/init-DC3u6eEj.mjs +1 -0
- package/dist/{init-CovbSAcF.mjs → init-DpLpfyFd.mjs} +3 -3
- package/dist/loader-C4s8gzSJ.mjs +1 -0
- package/dist/{loader-Dc--x7jS.mjs → loader-coix-kRo.mjs} +2 -2
- package/dist/paths-DWkDeU2T.mjs +1 -0
- package/dist/{paths-CWvcLdGz.mjs → paths-NbAS6ppU.mjs} +2 -2
- package/dist/preview-Bf1RdMGh.mjs +1 -0
- package/dist/{preview-CLEFq2Qk.mjs → preview-DT-EPBgG.mjs} +2 -2
- package/dist/public/assets/index-D8GnBO4u.css +1 -0
- package/dist/public/assets/{index-CcvrsPse.js → index-JVP7Gc1X.js} +7 -7
- package/dist/public/index.html +15 -2
- package/dist/{src-y0OBZgkE.mjs → src-4QBkn9Bx.mjs} +48 -47
- package/dist/src-BbmdRAJb.mjs +1 -0
- package/dist/{src-FL3Ydra9.mjs → src-DaFsir-C.mjs} +1 -1
- package/dist/{start-Pm1FWiVR.mjs → start-B-7ZLww6.mjs} +2 -2
- package/dist/start-BY96E7WU.mjs +1 -0
- package/package.json +1 -1
- package/dist/constants-CssIsAar.mjs +0 -2
- package/dist/init-BusLtanu.mjs +0 -1
- package/dist/init-DkOc_rH4.mjs +0 -1
- package/dist/loader-BBlbnLWs.mjs +0 -1
- package/dist/paths-CMZmck8P.mjs +0 -1
- package/dist/preview-Bqx92atL.mjs +0 -1
- package/dist/public/assets/index-lYAAGLdq.css +0 -1
- package/dist/src-CghXssk6.mjs +0 -1
- package/dist/start-D3hu5Ksg.mjs +0 -1
package/dist/public/index.html
CHANGED
|
@@ -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
|
-
|
|
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-
|
|
31
|
+
<link rel="stylesheet" crossorigin href="/assets/index-D8GnBO4u.css">
|
|
19
32
|
</head>
|
|
20
33
|
|
|
21
34
|
<body class="antialiased">
|