Skip to content
Merged

0.7.1 #271

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
9aedd86
Bump serialize-javascript and mocha
dependabot[bot] Feb 16, 2025
e4168c0
[Fix] potential memory leak
Bistard Feb 16, 2025
a69f3c6
[Env] update version to 0.7.1
Bistard Feb 16, 2025
98cbc60
Merge pull request #270 from Bistard/dependabot/npm_and_yarn/multi-51…
Bistard Feb 16, 2025
79fc50e
[Refactor] extract `LOCALIZE_REGEX` to a separate module
Bistard Feb 17, 2025
2100bff
[Refactor] encapsulate into `BlockInsertPalette` for quick document b…
Bistard Feb 17, 2025
c70096a
[Refactor] remove `BlockHandleButton` and replace with `AbstractBlock…
Bistard Feb 18, 2025
91f5b31
[Chore] streamline button registration
Bistard Feb 18, 2025
8bd3d27
[Feat] able to insert empty paragraph in `AddBlockButton`
Bistard Feb 18, 2025
e28f30b
[Feat] introduce `PaletteRenderer` for block insertion rendering
Bistard Feb 18, 2025
d43dd91
[Chore]
Bistard Feb 18, 2025
f26f66b
[Refactor] move `SlashKeyboardController` into `BlockInsertPalette`
Bistard Feb 18, 2025
0ffd982
[Chore] fix typo
Bistard Feb 18, 2025
d2a8515
[Feat] insert empty paragraph conditionally based on current node state
Bistard Feb 18, 2025
f68731f
[Chore] rename bunch of files by removing postfix `Extension`
Bistard Feb 18, 2025
e823834
[Chore]
Bistard Feb 18, 2025
ed86b1f
[Feat] start up
Bistard Feb 18, 2025
42ac9a5
[Chore]
Bistard Feb 18, 2025
61cc7d7
[Refactor] remove `Space` node and map its token to `Paragraph`
Bistard Feb 18, 2025
05da9d7
[Refactor] standard serialization: `CodeBlock`
Bistard Feb 18, 2025
8c4a18e
[Refactor] standard serialization: `Blockquote`
Bistard Feb 18, 2025
9c224c8
[Fix] `CodeBlock` is not a text block
Bistard Feb 18, 2025
d4b0003
[Fix] correct condition for inserting empty paragraph
Bistard Feb 18, 2025
e5c6c09
[Fix] handle serialization of empty paragraphs by simulating a space
Bistard Feb 18, 2025
013d7ad
[Refactor] standard serialization: `List`
Bistard Feb 18, 2025
4d46d4e
[Chore] rename `BlockInsertPalette` with `EditorPalette`
Bistard Feb 19, 2025
76e63d4
[Chore] remove unused `range.ts`
Bistard Feb 19, 2025
109be74
[Refactor] support dynamically provided content in `EditorPalette`
Bistard Feb 19, 2025
ff0485d
[Refactor] `BlockInsertProvider` for dynamic content insertion in `Ed…
Bistard Feb 19, 2025
7ef43f2
[Feat] enable `EditorAskAIExtension`
Bistard Feb 19, 2025
1412847
[Chore] fixes
Bistard Feb 19, 2025
4371d4f
[Feat] some test buttons in `AskAI` palette
Bistard Feb 19, 2025
cc8f0a5
[Chore]
Bistard Feb 19, 2025
178eca1
[Test] enhance `AskAIProvider` to include prompts for menu actions an…
Bistard Feb 20, 2025
d561cab
[Chore] log
Bistard Feb 20, 2025
76bd51d
[Feat] enhance input rule handling to support `mark` replacements
Bistard Feb 20, 2025
07ccfde
[Feat] add `strongRule` input rule
Bistard Feb 20, 2025
909c5b9
[Feat] add `emphasisRule` input rule
Bistard Feb 20, 2025
5dc4820
[Feat] add `codespanRule` input rule
Bistard Feb 20, 2025
0544777
[Feat] add `mathBlockRule` input rule with replace block strategy
Bistard Feb 20, 2025
c1517b7
[Feat] enhance block and inline math nodes to support draggable, sele…
Bistard Feb 21, 2025
6d9db42
[Fix] improve block placeholder logic
Bistard Feb 21, 2025
d0c1d92
[Fix] remove block display style for `<img>` element
Bistard Feb 21, 2025
6e2de91
[Chore]
Bistard Feb 21, 2025
108fcbe
[Fix] typo
Bistard Feb 21, 2025
1d2b84e
[Fix] ensure `EditorInput` handling actually handles the event
Bistard Feb 21, 2025
69556de
[Fix] enhance input rule handling for inline code and math expressions
Bistard Feb 21, 2025
87bae00
[Refactor] enrich `EditorViewModel`
Bistard Feb 21, 2025
2b0d2a4
[Refactor] remove `insertAt` and `deleteAt`
Bistard Feb 21, 2025
3c69b50
[Refactor] bring back `PieceTable` in `EditorModel`
Bistard Feb 22, 2025
12a5f49
[Chore]
Bistard Feb 22, 2025
72b673c
[Chore]
Bistard Feb 22, 2025
d50d169
[Fix] initialize view model updates in `RichTextView`
Bistard Feb 22, 2025
ab44727
[Chore]
Bistard Feb 22, 2025
19331a2
[Chore]
Bistard Feb 22, 2025
dcd8627
[Refactor] unified event handling of program input and user input by …
Bistard Feb 22, 2025
036936d
[Feat] prevent actually type `@` during `AskAI`
Bistard Feb 23, 2025
ff2c5bc
[Fix] improve `type`
Bistard Feb 23, 2025
9080149
[Chore] rename everything to `Snippet` instead of `InputRule`
Bistard Feb 23, 2025
ab6d1fe
[Feat] add `keydown` event emulation and browser key code mapping
Bistard Feb 23, 2025
cd249d8
[Chore]
Bistard Feb 23, 2025
046cd01
[Fix] typo
Bistard Feb 25, 2025
90f0a5b
[Chore]
Bistard Feb 25, 2025
b33c25e
[Refactor] simplify typing logic in `RichTextView`
Bistard Feb 25, 2025
7d0dc75
[Fix] `CodeBlock` has to work with `setBlockType` if it's not textblock
Bistard Feb 25, 2025
9e621c4
Merge pull request #272 from Bistard/dev-ask-AI
Bistard Feb 25, 2025
ff90707
[Doc]
Bistard Feb 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions assets/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"--------------------------------------------------------------------------------------------",
"Do not edit this file. It is machine generated."
],
"version": "0.7.0",
"version": "0.7.1",
"contents": {
"editor/common/markdown": {
"code": "Code",
Expand All @@ -24,7 +24,7 @@
"rendering": "Rendering...",
"error": "Error Equations"
},
"editor/contrib/blockPlaceHolderExtension/blockPlaceHolderExtension": {
"editor/contrib/blockPlaceHolder/blockPlaceHolder": {
"emptyBlockPlaceHolder": "Start typing, or press '@' for AI, '/' for commands..."
},
"editor/model/documentNode/node/html/html": {
Expand Down
8 changes: 4 additions & 4 deletions assets/locale/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"--------------------------------------------------------------------------------------------",
"Do not edit this file. It is machine generated."
],
"version": "0.7.0",
"version": "0.7.1",
"contents": {
"platform/i18n/browser/i18nService": {
"relaunchDisplayLanguageMessage": "重新启动 {name} 以切换到语言:{languageName}?"
Expand All @@ -19,9 +19,6 @@
"rendering": "渲染中...",
"error": "错误公式"
},
"editor/contrib/blockPlaceHolderExtension/blockPlaceHolderExtension": {
"emptyBlockPlaceHolder": "开始输入,或者试试 '@' 触发 AI,'/' 呼出命令..."
},
"editor/common/markdown": {
"code": "代码",
"heading": "标题",
Expand All @@ -36,6 +33,9 @@
},
"editor/model/documentNode/node/html/html": {
"empty": "空HTML"
},
"editor/contrib/blockPlaceHolder/blockPlaceHolder": {
"emptyBlockPlaceHolder": "开始输入,或者试试 '@' 触发 AI,'/' 呼出命令..."
}
}
}
Loading
Loading