mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-22 04:21:40 +08:00
@@ -1,5 +1,5 @@
|
||||
import { toNumberedList } from '@blocksuite/affine-shared/utils';
|
||||
import type { Command, EditorHost } from '@blocksuite/block-std';
|
||||
import type { Command, EditorHost } from '@blocksuite/std';
|
||||
|
||||
export const convertToNumberedListCommand: Command<
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { ListBlockModel } from '@blocksuite/affine-model';
|
||||
import type { IndentContext } from '@blocksuite/affine-shared/types';
|
||||
import { matchModels } from '@blocksuite/affine-shared/utils';
|
||||
import { type Command, TextSelection } from '@blocksuite/block-std';
|
||||
import { type Command, TextSelection } from '@blocksuite/std';
|
||||
|
||||
import { correctNumberedListsOrderToPrev } from './utils.js';
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
getNearestHeadingBefore,
|
||||
matchModels,
|
||||
} from '@blocksuite/affine-shared/utils';
|
||||
import { type Command, TextSelection } from '@blocksuite/block-std';
|
||||
import { type Command, TextSelection } from '@blocksuite/std';
|
||||
|
||||
import { correctNumberedListsOrderToPrev } from './utils.js';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { ListBlockModel } from '@blocksuite/affine-model';
|
||||
import { focusTextModel } from '@blocksuite/affine-rich-text';
|
||||
import { matchModels } from '@blocksuite/affine-shared/utils';
|
||||
import type { Command } from '@blocksuite/block-std';
|
||||
import type { Command } from '@blocksuite/std';
|
||||
|
||||
export const listToParagraphCommand: Command<
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
getNextContinuousNumberedLists,
|
||||
matchModels,
|
||||
} from '@blocksuite/affine-shared/utils';
|
||||
import type { Command, EditorHost } from '@blocksuite/block-std';
|
||||
import type { Command, EditorHost } from '@blocksuite/std';
|
||||
|
||||
import { canDedentListCommand, dedentListCommand } from './dedent-list.js';
|
||||
import { correctNumberedListsOrderToPrev } from './utils.js';
|
||||
|
||||
Reference in New Issue
Block a user