mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-23 13:02:21 +08:00
chore(editor): rename std.doc to std.store (#9596)
This commit is contained in:
@@ -28,7 +28,7 @@ export const insertLatexBlockCommand: Command<
|
||||
latex: latex ?? '',
|
||||
};
|
||||
|
||||
const result = std.doc.addSiblingBlocks(
|
||||
const result = std.store.addSiblingBlocks(
|
||||
targetModel,
|
||||
[latexBlockProps],
|
||||
place
|
||||
@@ -36,7 +36,7 @@ export const insertLatexBlockCommand: Command<
|
||||
if (result.length === 0) return;
|
||||
|
||||
if (removeEmptyLine && targetModel.text?.length === 0) {
|
||||
std.doc.deleteBlock(targetModel);
|
||||
std.store.deleteBlock(targetModel);
|
||||
}
|
||||
|
||||
next({
|
||||
|
||||
Reference in New Issue
Block a user