feat: render rich OneNote pages and resources

This commit is contained in:
2026-07-22 19:18:42 +02:00
parent 141be03f5e
commit 1750a6b5c3
12 changed files with 1252 additions and 64 deletions

View File

@@ -80,7 +80,24 @@ class SuccessfulParserWorker implements WorkerPort {
page: {
...page,
id: message.pageId,
blocks: [{ kind: 'text', text: page.text }],
blocks: [
{
kind: 'text',
id: 'text-1',
sourceText: page.text,
text: page.text,
runs: [
{
start: 0,
end: page.text.length,
text: page.text,
style: {},
},
],
paragraphStyle: {},
layout: {},
},
],
diagnostics: [],
},
});