Sync snapshot (2026-08-03) (#6)

- Fix AI table read/write column integrity in Sheets (cell text escaping, set_range validation)
- Slides: canvas follows window resize; restyle the AI quick-action toolbar
- Improve onboarding: stable card height, expanded copy across all 19 locales

Co-authored-by: GenOffice <merrick-2002@users.noreply.github.com>
This commit is contained in:
merrick-2002
2026-08-03 22:02:22 +08:00
committed by GitHub
co-authored by GenOffice
parent 0127f6289a
commit 4da673d4df
121 changed files with 2400 additions and 831 deletions
+2 -2
View File
@@ -2389,7 +2389,7 @@ function relPartPath(ctx: BuildContext, rId: string | undefined): string | null
}
/**
* SmartArt degrade (#220): the node texts from the diagram data part (r:dm)
* SmartArt degrade: the node texts from the diagram data part (r:dm)
* become the preview, so the reader still sees the labels the diagram holds.
*/
async function extractDiagramText(xml: string, ctx: BuildContext): Promise<string | null> {
@@ -2406,7 +2406,7 @@ async function extractDiagramText(xml: string, ctx: BuildContext): Promise<strin
}
/**
* OLE embed degrade (#220): the original packages a preview picture
* OLE embed degrade: the original packages a preview picture
* (v:imagedata) and declares its kind (o:OLEObject ProgID) — surface both
* instead of a bare type label.
*/
+1 -1
View File
@@ -431,7 +431,7 @@ export interface NewChart {
/** Editable interchange model of one table cell (type === 'table' blocks). */
export interface TableParagraph extends ParaFormat {
runs: Run[]
/** list paragraph inside the cell (w:numPr), #156 */
/** list paragraph inside the cell (w:numPr) */
list?: { kind: 'bullet' | 'ordered'; numId: string; ilvl: number }
}
@@ -8,7 +8,7 @@ import {
/**
* ECMA-376 Part 3 (MCE): every prefix named in mc:Choice Requires must be
* resolvable at the AlternateContent scope. Word treats an unresolvable
* prefix as file corruption ("unreadable content", issue #155), so the
* prefix as file corruption ("unreadable content"), so the
* builders must declare the wps namespace on mc:AlternateContent itself.
*/
@@ -44,7 +44,7 @@ async function buildFixture(): Promise<Uint8Array> {
})
}
describe('SmartArt / OLE visible degrade (#220)', () => {
describe('SmartArt / OLE visible degrade', () => {
it('SmartArt preview lists the diagram node texts', async () => {
const parsed = await parseDocx(await buildFixture())
const block = parsed.blocks[0]