mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 07:36:42 +08:00
542da0b347
## Summary - support converting selected text into inline LaTeX equations - support turning text blocks into LaTeX equation blocks - add equation entries to editor toolbars while keeping inline equation with text formatting actions ## Tests - yarn tsc -b blocksuite/affine/inlines/latex/tsconfig.json blocksuite/affine/blocks/note/tsconfig.json blocksuite/affine/blocks/root/tsconfig.json blocksuite/affine/rich-text/tsconfig.json blocksuite/affine/widgets/keyboard-toolbar/tsconfig.json --pretty false - git diff --check origin/canary...HEAD <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Equation block support with conversion from existing blocks. * Inline LaTeX insertion added to the inline formatting toolbar. * Equation action added to the keyboard toolbar; Equation blocks searchable via math/equation/latex aliases. * **Improvements** * Inline LaTeX editor opens and syncs more reliably; selection/convert flow preserves distinct LaTeX values when converting in reverse order. * **Tests** * New e2e tests for inline LaTeX conversions and value preservation. <!-- review_stack_entry_start --> [](https://app.coderabbit.ai/change-stack/toeverything/AFFiNE/pull/14924) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
{
|
|
"extends": "../../../tsconfig.json",
|
|
"compilerOptions": {
|
|
"rootDir": "./src",
|
|
"outDir": "./dist",
|
|
"tsBuildInfoFile": "./dist/tsconfig.tsbuildinfo"
|
|
},
|
|
"include": ["./src"],
|
|
"references": [
|
|
{ "path": "../attachment" },
|
|
{ "path": "../bookmark" },
|
|
{ "path": "../database" },
|
|
{ "path": "../edgeless-text" },
|
|
{ "path": "../embed" },
|
|
{ "path": "../frame" },
|
|
{ "path": "../image" },
|
|
{ "path": "../note" },
|
|
{ "path": "../paragraph" },
|
|
{ "path": "../surface" },
|
|
{ "path": "../../components" },
|
|
{ "path": "../../ext-loader" },
|
|
{ "path": "../../gfx/brush" },
|
|
{ "path": "../../gfx/connector" },
|
|
{ "path": "../../gfx/group" },
|
|
{ "path": "../../gfx/mindmap" },
|
|
{ "path": "../../gfx/note" },
|
|
{ "path": "../../gfx/pointer" },
|
|
{ "path": "../../gfx/shape" },
|
|
{ "path": "../../gfx/text" },
|
|
{ "path": "../../inlines/latex" },
|
|
{ "path": "../../inlines/preset" },
|
|
{ "path": "../../model" },
|
|
{ "path": "../../rich-text" },
|
|
{ "path": "../../shared" },
|
|
{ "path": "../../widgets/edgeless-toolbar" },
|
|
{ "path": "../../data-view" },
|
|
{ "path": "../../../framework/global" },
|
|
{ "path": "../../../framework/std" },
|
|
{ "path": "../../../framework/store" }
|
|
]
|
|
}
|