pict-section-form 1.1.2 → 1.1.4
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/docs/_version.json +3 -3
- package/docs/examples/change_tracking/change_tracking.js +18 -2
- package/docs/examples/diagram_form/diagram_form_example.min.js +2 -2
- package/docs/examples/diagram_form/index.html +5 -0
- package/docs/examples/dynamic_analysis/dynamic_analysis_application.js +2 -2
- package/docs/examples/gradebook/gradebook_application.min.js +1 -1
- package/docs/examples/ndt_field_test/ndt_field_test.js +18 -2
- package/docs/examples/richtext_form/codemirror-bundle.js +29982 -0
- package/docs/examples/richtext_form/index.html +3 -0
- package/docs/examples/richtext_form/richtext_form_example.min.js +1 -1
- package/docs/examples/scope_mathematics/scope_mathematics.js +18 -2
- package/docs/examples/simple_table/simple_tabular_application.min.js +1 -1
- package/docs/examples/superhero_studio/codemirror-bundle.js +29982 -0
- package/docs/examples/superhero_studio/index.html +8 -0
- package/docs/examples/superhero_studio/superhero_studio_example.min.js +2 -2
- package/docs/index.html +2 -2
- package/docs/retold-catalog.json +3 -6
- package/docs/retold-keyword-index.json +1 -1
- package/example_applications/diagram_form/DiagramForm-Example-Application.js +2 -18
- package/example_applications/diagram_form/html/index.html +5 -0
- package/example_applications/diagram_form/package.json +4 -3
- package/example_applications/richtext_form/html/codemirror-bundle.js +29982 -0
- package/example_applications/richtext_form/html/index.html +3 -0
- package/example_applications/superhero_studio/html/codemirror-bundle.js +29982 -0
- package/example_applications/superhero_studio/html/index.html +8 -0
- package/example_applications/superhero_studio/package.json +4 -3
- package/example_applications/superhero_studio/scripts/Generate-Hero-Scenes.js +194 -0
- package/example_applications/superhero_studio/scripts/generated-scenes.json +10 -0
- package/example_applications/superhero_studio/superheroes/Superheroes.js +12 -163
- package/package.json +1 -1
- package/source/providers/inputs/Pict-Provider-Input-Diagram-CSS.js +17 -1
|
@@ -127,12 +127,20 @@
|
|
|
127
127
|
</main>
|
|
128
128
|
|
|
129
129
|
<link rel="stylesheet" href="./excalidraw-wrapper.css">
|
|
130
|
+
<script>
|
|
131
|
+
// Tell Excalidraw where to fetch its fonts + locale chunks from. Must be
|
|
132
|
+
// set BEFORE the wrapper bundle loads.
|
|
133
|
+
window.EXCALIDRAW_ASSET_PATH = './excalidraw-assets/';
|
|
134
|
+
</script>
|
|
130
135
|
<script src="https://cdn.jsdelivr.net/npm/pict@1/dist/pict.min.js"></script>
|
|
131
136
|
<!-- Excalidraw vendor bundle (React + Excalidraw). The Diagram InputType
|
|
132
137
|
looks for window.PictSectionExcalidrawVendor when the Portrait field
|
|
133
138
|
flips to edit; without these tags Excalidraw won't mount. -->
|
|
134
139
|
<script src="./react-vendor.min.js"></script>
|
|
135
140
|
<script src="./excalidraw-wrapper.min.js"></script>
|
|
141
|
+
<!-- CodeMirror bundle — the markdown editor auto-detects window.CodeMirrorModules
|
|
142
|
+
when the Origin Story field flips to edit. -->
|
|
143
|
+
<script src="./codemirror-bundle.js"></script>
|
|
136
144
|
<script src="./superhero_studio_example.min.js"></script>
|
|
137
145
|
<script>
|
|
138
146
|
const _Themes =
|