@blocknote/xl-odt-exporter 0.25.0

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.
Files changed (44) hide show
  1. package/LICENSE +661 -0
  2. package/dist/GeistMono-Regular-D4rKXxwr.js +5 -0
  3. package/dist/GeistMono-Regular-D4rKXxwr.js.map +1 -0
  4. package/dist/Inter_18pt-Regular-byxnNS-8.js +5 -0
  5. package/dist/Inter_18pt-Regular-byxnNS-8.js.map +1 -0
  6. package/dist/blocknote-xl-odt-exporter.js +1646 -0
  7. package/dist/blocknote-xl-odt-exporter.js.map +1 -0
  8. package/dist/blocknote-xl-odt-exporter.umd.cjs +1080 -0
  9. package/dist/blocknote-xl-odt-exporter.umd.cjs.map +1 -0
  10. package/dist/webpack-stats.json +1 -0
  11. package/package.json +82 -0
  12. package/src/index.ts +1 -0
  13. package/src/odt/__snapshots__/basic/content.xml +448 -0
  14. package/src/odt/__snapshots__/basic/styles.xml +599 -0
  15. package/src/odt/__snapshots__/withCustomOptions/content.xml +462 -0
  16. package/src/odt/__snapshots__/withCustomOptions/styles.xml +599 -0
  17. package/src/odt/defaultSchema/blocks.tsx +460 -0
  18. package/src/odt/defaultSchema/index.ts +9 -0
  19. package/src/odt/defaultSchema/inlineContent.tsx +30 -0
  20. package/src/odt/defaultSchema/styles.ts +59 -0
  21. package/src/odt/index.ts +2 -0
  22. package/src/odt/odtExporter.test.ts +80 -0
  23. package/src/odt/odtExporter.tsx +360 -0
  24. package/src/odt/template/META-INF/manifest.xml +18 -0
  25. package/src/odt/template/Pictures/100000000000014C0000014CDD284996.jpg +0 -0
  26. package/src/odt/template/README.md +3 -0
  27. package/src/odt/template/Thumbnails/thumbnail.png +0 -0
  28. package/src/odt/template/content.xml +430 -0
  29. package/src/odt/template/manifest.rdf +6 -0
  30. package/src/odt/template/meta.xml +19 -0
  31. package/src/odt/template/mimetype +1 -0
  32. package/src/odt/template/settings.xml +173 -0
  33. package/src/odt/template/styles.xml +1078 -0
  34. package/src/odt/template/template blocknote.odt +0 -0
  35. package/src/odt/util/jsx.d.ts +55 -0
  36. package/src/vite-env.d.ts +11 -0
  37. package/types/src/index.d.ts +1 -0
  38. package/types/src/odt/defaultSchema/blocks.d.ts +4 -0
  39. package/types/src/odt/defaultSchema/index.d.ts +529 -0
  40. package/types/src/odt/defaultSchema/inlineContent.d.ts +3 -0
  41. package/types/src/odt/defaultSchema/styles.d.ts +2 -0
  42. package/types/src/odt/index.d.ts +2 -0
  43. package/types/src/odt/odtExporter.d.ts +28 -0
  44. package/types/src/odt/odtExporter.test.d.ts +1 -0
@@ -0,0 +1 @@
1
+ {"builtAt":1741102178593,"assets":[{"name":"blocknote-xl-odt-exporter.umd.cjs","size":698991},{"name":"blocknote-xl-odt-exporter.umd.cjs.map","size":745972}],"chunks":[{"id":"642be88","entry":true,"initial":true,"files":["blocknote-xl-odt-exporter.umd.cjs"],"names":["index"]}],"modules":[{"name":"./src/odt/defaultSchema/blocks.tsx","size":13524,"chunks":["642be88"]},{"name":"./src/odt/defaultSchema/inlineContent.tsx","size":533,"chunks":["642be88"]},{"name":"./src/odt/defaultSchema/styles.ts","size":963,"chunks":["642be88"]},{"name":"./src/odt/defaultSchema/index.ts","size":199,"chunks":["642be88"]},{"name":"../../shared/util/fileUtil.ts","size":604,"chunks":["642be88"]},{"name":"../../shared/util/imageUtil.ts","size":710,"chunks":["642be88"]},{"name":"./src/odt/template/styles.xml?raw","size":76781,"chunks":["642be88"]},{"name":"./src/odt/odtExporter.tsx","size":9974,"chunks":["642be88"]},{"name":"./src/index.ts","size":0,"chunks":["642be88"]},{"name":"../../shared/assets/fonts/inter/Inter_18pt-Regular.ttf","size":456958,"chunks":["642be88"]},{"name":"../../shared/assets/fonts/GeistMono-Regular.ttf","size":155049,"chunks":["642be88"]}]}
package/package.json ADDED
@@ -0,0 +1,82 @@
1
+ {
2
+ "name": "@blocknote/xl-odt-exporter",
3
+ "homepage": "https://github.com/TypeCellOS/BlockNote",
4
+ "private": false,
5
+ "license": "AGPL-3.0 OR PROPRIETARY",
6
+ "version": "0.25.0",
7
+ "files": [
8
+ "dist",
9
+ "types",
10
+ "src"
11
+ ],
12
+ "keywords": [
13
+ "odt",
14
+ "opendocument",
15
+ "react",
16
+ "javascript",
17
+ "editor",
18
+ "typescript",
19
+ "prosemirror",
20
+ "wysiwyg",
21
+ "rich-text-editor",
22
+ "notion",
23
+ "yjs",
24
+ "block-based",
25
+ "tiptap"
26
+ ],
27
+ "description": "A \"Notion-style\" block-based extensible text editor built on top of Prosemirror and Tiptap.",
28
+ "type": "module",
29
+ "source": "src/index.ts",
30
+ "types": "./types/src/index.d.ts",
31
+ "main": "./dist/blocknote-xl-odt-exporter.umd.cjs",
32
+ "module": "./dist/blocknote-xl-odt-exporter.js",
33
+ "exports": {
34
+ ".": {
35
+ "types": "./types/src/index.d.ts",
36
+ "import": "./dist/blocknote-xl-odt-exporter.js",
37
+ "require": "./dist/blocknote-xl-odt-exporter.umd.cjs"
38
+ },
39
+ "./style.css": {
40
+ "import": "./dist/style.css",
41
+ "require": "./dist/style.css"
42
+ }
43
+ },
44
+ "scripts": {
45
+ "dev": "vite",
46
+ "build": "tsc --build && vite build",
47
+ "lint": "eslint src --max-warnings 0",
48
+ "test": "vitest --run",
49
+ "test-watch": "vitest watch",
50
+ "clean": "rimraf dist && rimraf types"
51
+ },
52
+ "dependencies": {
53
+ "@blocknote/core": "^0.25.0",
54
+ "@zip.js/zip.js": "^2.7.57",
55
+ "buffer": "^6.0.3",
56
+ "image-meta": "^0.2.1"
57
+ },
58
+ "devDependencies": {
59
+ "@testing-library/react": "^16.0.1",
60
+ "prettier": "^2.7.1",
61
+ "rollup-plugin-webpack-stats": "^0.2.2",
62
+ "typescript": "^5.0.4",
63
+ "vite": "^5.3.4",
64
+ "vite-plugin-eslint": "^1.8.1",
65
+ "vitest": "^2.0.3",
66
+ "xml-formatter": "^3.6.3"
67
+ },
68
+ "peerDependencies": {
69
+ "react": "^18.0 || ^19.0 || >= 19.0.0-rc",
70
+ "react-dom": "^18.0 || ^19.0 || >= 19.0.0-rc"
71
+ },
72
+ "eslintConfig": {
73
+ "extends": [
74
+ "../../.eslintrc.js"
75
+ ]
76
+ },
77
+ "publishConfig": {
78
+ "access": "public",
79
+ "registry": "https://registry.npmjs.org/"
80
+ },
81
+ "gitHead": "2e7e03a8e9ccdb4a169c7436d48205e04021db97"
82
+ }
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "./odt/index.js";
@@ -0,0 +1,448 @@
1
+ <office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" office:version="1.3">
2
+ <office:font-face-decls>
3
+ <style:font-face style:name="Inter 18pt" svg:font-family="Inter 18pt" style:font-pitch="variable">
4
+ <svg:font-face-src>
5
+ <svg:font-face-uri xlink:href="Fonts/Inter_18pt-Regular.ttf" xlink:type="simple" loext:font-style="normal" loext:font-weight="normal">
6
+ <svg:font-face-format svg:string="truetype"></svg:font-face-format>
7
+ </svg:font-face-uri>
8
+ </svg:font-face-src>
9
+ </style:font-face>
10
+ <style:font-face style:name="Geist Mono" svg:font-family="Geist Mono" style:font-pitch="variable">
11
+ <svg:font-face-src>
12
+ <svg:font-face-uri xlink:href="Fonts/GeistMono-Regular.ttf" xlink:type="simple" loext:font-style="normal" loext:font-weight="normal">
13
+ <svg:font-face-format svg:string="truetype"></svg:font-face-format>
14
+ </svg:font-face-uri>
15
+ </svg:font-face-src>
16
+ </style:font-face>
17
+ </office:font-face-decls>
18
+ <office:automatic-styles>
19
+ <style:style style:name="BN_T1" style:family="text">
20
+ <style:text-properties fo:font-style="italic"></style:text-properties>
21
+ </style:style>
22
+ <style:style style:name="BN_T2" style:family="text">
23
+ <style:text-properties fo:font-style="italic" fo:font-weight="bold"></style:text-properties>
24
+ </style:style>
25
+ <style:style style:family="paragraph" style:name="BN_S3" style:parent-style-name="Standard">
26
+ <loext:graphic-properties draw:fill="solid" draw:fill-color="#fbe4e4"></loext:graphic-properties>
27
+ <style:paragraph-properties fo:background-color="#fbe4e4"></style:paragraph-properties>
28
+ </style:style>
29
+ <style:style style:name="BN_T4" style:family="text">
30
+ <style:text-properties fo:font-weight="bold"></style:text-properties>
31
+ </style:style>
32
+ <style:style style:family="paragraph" style:name="BN_S5" style:parent-style-name="Heading_20_1">
33
+ <style:paragraph-properties fo:text-align="end"></style:paragraph-properties>
34
+ </style:style>
35
+ <style:style style:family="paragraph" style:name="BN_S6" style:parent-style-name="Standard">
36
+ <style:paragraph-properties fo:text-align="justify"></style:paragraph-properties>
37
+ </style:style>
38
+ <style:style style:family="paragraph" style:name="BN_S7" style:parent-style-name="Standard" style:list-style-name="WWNum1"></style:style>
39
+ <style:style style:family="paragraph" style:name="BN_S8" style:parent-style-name="Standard" style:list-style-name="WWNum1">
40
+ <style:paragraph-properties fo:text-align="end"></style:paragraph-properties>
41
+ </style:style>
42
+ <style:style style:family="paragraph" style:name="BN_S9" style:parent-style-name="Standard">
43
+ <loext:graphic-properties draw:fill="solid" draw:fill-color="#fbe4e4"></loext:graphic-properties>
44
+ <style:paragraph-properties fo:text-align="end" fo:background-color="#fbe4e4"></style:paragraph-properties>
45
+ <style:text-properties fo:color="#0b6e99"></style:text-properties>
46
+ </style:style>
47
+ <style:style style:family="paragraph" style:name="BN_S10" style:parent-style-name="Standard">
48
+ <loext:graphic-properties draw:fill="solid" draw:fill-color="#fbe4e4"></loext:graphic-properties>
49
+ <style:paragraph-properties fo:text-align="center" fo:background-color="#fbe4e4"></style:paragraph-properties>
50
+ <style:text-properties fo:color="#0b6e99"></style:text-properties>
51
+ </style:style>
52
+ <style:style style:family="paragraph" style:name="BN_S11" style:parent-style-name="Standard" style:list-style-name="WWNum1"></style:style>
53
+ <style:style style:family="table" style:name="BN_S12">
54
+ <style:table-properties table:align="left" style:writing-mode="lr-tb" style:width="330pt"></style:table-properties>
55
+ </style:style>
56
+ <style:style style:name="BN_S13" style:family="table-column">
57
+ <style:table-column-properties style:column-width="150pt"></style:table-column-properties>
58
+ </style:style>
59
+ <style:style style:name="BN_S14" style:family="table-column">
60
+ <style:table-column-properties style:column-width="90pt"></style:table-column-properties>
61
+ </style:style>
62
+ <style:style style:name="BN_S15" style:family="table-column">
63
+ <style:table-column-properties style:column-width="90pt"></style:table-column-properties>
64
+ </style:style>
65
+ <style:style style:family="table-cell" style:name="BN_S16">
66
+ <style:table-cell-properties fo:border="0.5pt solid #000000" style:writing-mode="lr-tb" fo:padding-top="0in" fo:padding-left="0.075in" fo:padding-bottom="0in" fo:padding-right="0.075in"></style:table-cell-properties>
67
+ </style:style>
68
+ <style:style style:family="paragraph" style:name="BN_S17" style:parent-style-name="Standard">
69
+ <style:paragraph-properties fo:text-align="end"></style:paragraph-properties>
70
+ </style:style>
71
+ <style:style style:name="BN_T18" style:family="text">
72
+ <style:text-properties fo:font-weight="bold"></style:text-properties>
73
+ </style:style>
74
+ <style:style style:name="BN_T19" style:family="text">
75
+ <style:text-properties fo:font-weight="bold" fo:font-style="italic" fo:color="#e03e3e" fo:background-color="#ddebf1"></style:text-properties>
76
+ </style:style>
77
+ <style:style style:family="table" style:name="BN_S20">
78
+ <style:table-properties table:align="left" style:writing-mode="lr-tb" style:width="270pt"></style:table-properties>
79
+ </style:style>
80
+ <style:style style:name="BN_S21" style:family="table-column">
81
+ <style:table-column-properties style:column-width="90pt"></style:table-column-properties>
82
+ </style:style>
83
+ <style:style style:name="BN_S22" style:family="table-column">
84
+ <style:table-column-properties style:column-width="90pt"></style:table-column-properties>
85
+ </style:style>
86
+ <style:style style:name="BN_S23" style:family="table-column">
87
+ <style:table-column-properties style:column-width="90pt"></style:table-column-properties>
88
+ </style:style>
89
+ <style:style style:family="table-cell" style:name="BN_S24">
90
+ <style:table-cell-properties fo:border="0.5pt solid #000000" style:writing-mode="lr-tb" fo:padding-top="0in" fo:padding-left="0.075in" fo:padding-bottom="0in" fo:padding-right="0.075in"></style:table-cell-properties>
91
+ </style:style>
92
+ <style:style style:name="BN_T25" style:family="text">
93
+ <style:text-properties fo:font-weight="bold"></style:text-properties>
94
+ </style:style>
95
+ </office:automatic-styles>
96
+ <office:body>
97
+ <office:text>
98
+ <text:p text:style-name="Standard">
99
+ <text:span text:style-name="BN_T1">
100
+ Welcome to this
101
+ </text:span>
102
+ <text:span text:style-name="BN_T2">
103
+ demo 🙌!
104
+ </text:span>
105
+ </text:p>
106
+ <text:p text:style-name="Standard">
107
+ <text:tab></text:tab>
108
+ Hello World nested
109
+ </text:p>
110
+ <text:p text:style-name="Standard">
111
+ <text:tab></text:tab>
112
+ <text:tab></text:tab>
113
+ Hello World double nested
114
+ </text:p>
115
+ <text:p text:style-name="BN_S3">
116
+ <text:span text:style-name="BN_T4">
117
+ This paragraph has a background color
118
+ </text:span>
119
+ </text:p>
120
+ <text:p text:style-name="Standard">
121
+ Paragraph
122
+ </text:p>
123
+ <text:h text:outline-level="1" text:style-name="Heading_20_1">
124
+ Heading
125
+ </text:h>
126
+ <text:h text:outline-level="1" text:style-name="BN_S5">
127
+ Heading right
128
+ </text:h>
129
+ <text:p text:style-name="BN_S6">
130
+ justified paragraph. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
131
+ </text:p>
132
+ <text:p text:style-name="PageBreak"></text:p>
133
+ <text:list text:style-name="WWNum1">
134
+ <text:list-item>
135
+ <text:p text:style-name="BN_S11">
136
+ Bullet List Item. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
137
+ </text:p>
138
+ </text:list-item>
139
+ </text:list>
140
+ <text:list text:style-name="WWNum1">
141
+ <text:list-item>
142
+ <text:list>
143
+ <text:list-item>
144
+ <text:p text:style-name="BN_S7">
145
+ Bullet List Item. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
146
+ </text:p>
147
+ </text:list-item>
148
+ </text:list>
149
+ </text:list-item>
150
+ </text:list>
151
+ <text:list text:style-name="WWNum1">
152
+ <text:list-item>
153
+ <text:list>
154
+ <text:list-item>
155
+ <text:p text:style-name="BN_S8">
156
+ Bullet List Item right. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
157
+ </text:p>
158
+ </text:list-item>
159
+ </text:list>
160
+ </text:list-item>
161
+ </text:list>
162
+ <text:list text:style-name="No_20_List" text:continue-numbering="false">
163
+ <text:list-item>
164
+ <text:list>
165
+ <text:list-item>
166
+ <text:p text:style-name="Standard">
167
+ Numbered List Item 1
168
+ </text:p>
169
+ </text:list-item>
170
+ </text:list>
171
+ </text:list-item>
172
+ </text:list>
173
+ <text:list text:style-name="No_20_List" text:continue-numbering="true">
174
+ <text:list-item>
175
+ <text:list>
176
+ <text:list-item>
177
+ <text:p text:style-name="Standard">
178
+ Numbered List Item 2
179
+ </text:p>
180
+ </text:list-item>
181
+ </text:list>
182
+ </text:list-item>
183
+ </text:list>
184
+ <text:list text:style-name="No_20_List" text:continue-numbering="false">
185
+ <text:list-item>
186
+ <text:list>
187
+ <text:list-item>
188
+ <text:list>
189
+ <text:list-item>
190
+ <text:p text:style-name="Standard">
191
+ Numbered List Item Nested 1
192
+ </text:p>
193
+ </text:list-item>
194
+ </text:list>
195
+ </text:list-item>
196
+ </text:list>
197
+ </text:list-item>
198
+ </text:list>
199
+ <text:list text:style-name="No_20_List" text:continue-numbering="true">
200
+ <text:list-item>
201
+ <text:list>
202
+ <text:list-item>
203
+ <text:list>
204
+ <text:list-item>
205
+ <text:p text:style-name="Standard">
206
+ Numbered List Item Nested 2
207
+ </text:p>
208
+ </text:list-item>
209
+ </text:list>
210
+ </text:list-item>
211
+ </text:list>
212
+ </text:list-item>
213
+ </text:list>
214
+ <text:list text:style-name="No_20_List" text:continue-numbering="true">
215
+ <text:list-item>
216
+ <text:list>
217
+ <text:list-item>
218
+ <text:list>
219
+ <text:list-item>
220
+ <text:p text:style-name="BN_S9">
221
+ Numbered List Item Nested funky right
222
+ </text:p>
223
+ </text:list-item>
224
+ </text:list>
225
+ </text:list-item>
226
+ </text:list>
227
+ </text:list-item>
228
+ </text:list>
229
+ <text:list text:style-name="No_20_List" text:continue-numbering="true">
230
+ <text:list-item>
231
+ <text:list>
232
+ <text:list-item>
233
+ <text:list>
234
+ <text:list-item>
235
+ <text:p text:style-name="BN_S10">
236
+ Numbered List Item Nested funky center
237
+ </text:p>
238
+ </text:list-item>
239
+ </text:list>
240
+ </text:list-item>
241
+ </text:list>
242
+ </text:list-item>
243
+ </text:list>
244
+ <text:list text:style-name="No_20_List" text:continue-numbering="false">
245
+ <text:list-item>
246
+ <text:p text:style-name="Standard">
247
+ Numbered List Item
248
+ </text:p>
249
+ </text:list-item>
250
+ </text:list>
251
+ <text:p text:style-name="Standard">
252
+
253
+ <!-- -->
254
+ Check List Item
255
+ </text:p>
256
+ <table:table table:name="" table:style-name="BN_S12">
257
+ <table:table-column table:style-name="BN_S13"></table:table-column>
258
+ <table:table-column table:style-name="BN_S14"></table:table-column>
259
+ <table:table-column table:style-name="BN_S15"></table:table-column>
260
+ <table:table-row>
261
+ <table:table-cell table:style-name="BN_S16" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
262
+ <text:p text:style-name="Standard">
263
+ Wide Cell
264
+ </text:p>
265
+ </table:table-cell>
266
+ <table:table-cell table:style-name="BN_S16" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
267
+ <text:p text:style-name="Standard">
268
+ Table Cell
269
+ </text:p>
270
+ </table:table-cell>
271
+ <table:table-cell table:style-name="BN_S16" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
272
+ <text:p text:style-name="Standard">
273
+ Table Cell
274
+ </text:p>
275
+ </table:table-cell>
276
+ </table:table-row>
277
+ <table:table-row>
278
+ <table:table-cell table:style-name="BN_S16" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
279
+ <text:p text:style-name="Standard">
280
+ Wide Cell
281
+ </text:p>
282
+ </table:table-cell>
283
+ <table:table-cell table:style-name="BN_S16" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
284
+ <text:p text:style-name="Standard">
285
+ Table Cell
286
+ </text:p>
287
+ </table:table-cell>
288
+ <table:table-cell table:style-name="BN_S16" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
289
+ <text:p text:style-name="Standard">
290
+ Table Cell
291
+ </text:p>
292
+ </table:table-cell>
293
+ </table:table-row>
294
+ <table:table-row>
295
+ <table:table-cell table:style-name="BN_S16" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
296
+ <text:p text:style-name="Standard">
297
+ Wide Cell
298
+ </text:p>
299
+ </table:table-cell>
300
+ <table:table-cell table:style-name="BN_S16" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
301
+ <text:p text:style-name="Standard">
302
+ Table Cell
303
+ </text:p>
304
+ </table:table-cell>
305
+ <table:table-cell table:style-name="BN_S16" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
306
+ <text:p text:style-name="Standard">
307
+ Table Cell
308
+ </text:p>
309
+ </table:table-cell>
310
+ </table:table-row>
311
+ </table:table>
312
+ <text:p style:style-name="Standard">
313
+ Open file
314
+ </text:p>
315
+ <text:p text:style-name="Standard">
316
+ <draw:frame draw:style-name="Frame" style:rel-height="scale" style:rel-width="512px" svg:width="512px" svg:height="532px" text:anchor-type="as-char">
317
+ <draw:text-box>
318
+ <text:p text:style-name="Caption">
319
+ <draw:frame draw:style-name="Frame" style:rel-height="scale" svg:width="512px" svg:height="512px" style:rel-width="100%">
320
+ <draw:image xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" xlink:href="Pictures/picture-0.jpg" draw:mime-type="image/jpeg"></draw:image>
321
+ </draw:frame>
322
+ <text:line-break></text:line-break>
323
+ <text:span text:style-name="Caption">
324
+ From https://interactive-examples.mdn.mozilla.net/media/cc0-images/grapefruit-slice-332-332.jpg
325
+ </text:span>
326
+ </text:p>
327
+ </draw:text-box>
328
+ </draw:frame>
329
+ </text:p>
330
+ <text:p text:style-name="BN_S17">
331
+ <draw:frame draw:style-name="Frame" style:rel-height="scale" svg:width="200px" svg:height="200px" style:rel-width="200px" text:anchor-type="as-char">
332
+ <draw:image xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" xlink:href="Pictures/picture-0.jpg" draw:mime-type="image/jpeg"></draw:image>
333
+ </draw:frame>
334
+ <text:line-break></text:line-break>
335
+ <text:span text:style-name="Caption"></text:span>
336
+ </text:p>
337
+ <text:p style:style-name="Standard">
338
+ <text:a xlink:type="simple" text:style-name="Internet_20_link" office:target-frame-name="_top" xlink:show="replace" xlink:href="https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.webm">
339
+ <text:span text:style-name="Internet_20_link">
340
+ Open video
341
+ </text:span>
342
+ </text:a>
343
+ </text:p>
344
+ <text:p text:style-name="Caption">
345
+ From https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.webm
346
+ </text:p>
347
+ <text:p style:style-name="Standard">
348
+ <text:a xlink:type="simple" text:style-name="Internet_20_link" office:target-frame-name="_top" xlink:show="replace" xlink:href="https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3">
349
+ <text:span text:style-name="Internet_20_link">
350
+ Open audio
351
+ </text:span>
352
+ </text:a>
353
+ </text:p>
354
+ <text:p text:style-name="Caption">
355
+ From https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3
356
+ </text:p>
357
+ <text:p text:style-name="Standard"></text:p>
358
+ <text:p style:style-name="Standard">
359
+ <text:a xlink:type="simple" text:style-name="Internet_20_link" office:target-frame-name="_top" xlink:show="replace" xlink:href="">
360
+ <text:span text:style-name="Internet_20_link">
361
+ Open audio
362
+ </text:span>
363
+ </text:a>
364
+ </text:p>
365
+ <text:p text:style-name="Caption">
366
+ Audio file caption
367
+ </text:p>
368
+ <text:p text:style-name="Standard">
369
+ <text:span text:style-name="BN_T18">
370
+ Inline Content:
371
+ </text:span>
372
+ </text:p>
373
+ <text:p text:style-name="Standard">
374
+ <text:span text:style-name="BN_T19">
375
+ Styled Text
376
+ </text:span>
377
+ <text:a xlink:type="simple" text:style-name="Internet_20_link" office:target-frame-name="_top" xlink:show="replace" xlink:href="https://www.blocknotejs.org">
378
+ Link
379
+ </text:a>
380
+ </text:p>
381
+ <table:table table:name="" table:style-name="BN_S20">
382
+ <table:table-column table:style-name="BN_S21"></table:table-column>
383
+ <table:table-column table:style-name="BN_S22"></table:table-column>
384
+ <table:table-column table:style-name="BN_S23"></table:table-column>
385
+ <table:table-row>
386
+ <table:table-cell table:style-name="BN_S24" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
387
+ <text:p text:style-name="Standard">
388
+ Table Cell 1
389
+ </text:p>
390
+ </table:table-cell>
391
+ <table:table-cell table:style-name="BN_S24" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
392
+ <text:p text:style-name="Standard">
393
+ Table Cell 2
394
+ </text:p>
395
+ </table:table-cell>
396
+ <table:table-cell table:style-name="BN_S24" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
397
+ <text:p text:style-name="Standard">
398
+ Table Cell 3
399
+ </text:p>
400
+ </table:table-cell>
401
+ </table:table-row>
402
+ <table:table-row>
403
+ <table:table-cell table:style-name="BN_S24" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
404
+ <text:p text:style-name="Standard">
405
+ Table Cell 4
406
+ </text:p>
407
+ </table:table-cell>
408
+ <table:table-cell table:style-name="BN_S24" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
409
+ <text:p text:style-name="Standard">
410
+ <text:span text:style-name="BN_T25">
411
+ Table Cell Bold 5
412
+ </text:span>
413
+ </text:p>
414
+ </table:table-cell>
415
+ <table:table-cell table:style-name="BN_S24" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
416
+ <text:p text:style-name="Standard">
417
+ Table Cell 6
418
+ </text:p>
419
+ </table:table-cell>
420
+ </table:table-row>
421
+ <table:table-row>
422
+ <table:table-cell table:style-name="BN_S24" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
423
+ <text:p text:style-name="Standard">
424
+ Table Cell 7
425
+ </text:p>
426
+ </table:table-cell>
427
+ <table:table-cell table:style-name="BN_S24" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
428
+ <text:p text:style-name="Standard">
429
+ Table Cell 8
430
+ </text:p>
431
+ </table:table-cell>
432
+ <table:table-cell table:style-name="BN_S24" office:value-type="string" style:text-align-source="fix" style:paragraph-properties-text-align="left">
433
+ <text:p text:style-name="Standard">
434
+ Table Cell 9
435
+ </text:p>
436
+ </table:table-cell>
437
+ </table:table-row>
438
+ </table:table>
439
+ <text:p text:style-name="Codeblock">
440
+ const helloWorld = (message) =&gt; {
441
+ <text:line-break></text:line-break>
442
+ console.log(&quot;Hello World&quot;, message);
443
+ <text:line-break></text:line-break>
444
+ };
445
+ </text:p>
446
+ </office:text>
447
+ </office:body>
448
+ </office:document-content>