mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-06 11:59:51 +08:00
feat(editor): selection as store extension (#9605)
This commit is contained in:
@@ -2,7 +2,7 @@ import {
|
||||
type ReferenceParams,
|
||||
ReferenceParamsSchema,
|
||||
} from '@blocksuite/affine-model';
|
||||
import { BaseSelection, SelectionExtension } from '@blocksuite/block-std';
|
||||
import { BaseSelection, SelectionExtension } from '@blocksuite/store';
|
||||
|
||||
export class HighlightSelection extends BaseSelection {
|
||||
static override group = 'scene';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { BaseSelection, SelectionExtension } from '@blocksuite/block-std';
|
||||
import { BaseSelection, SelectionExtension } from '@blocksuite/store';
|
||||
import z from 'zod';
|
||||
|
||||
const ImageSelectionSchema = z.object({
|
||||
|
||||
Reference in New Issue
Block a user