refactor(editor): move extension to store (#9552)

This commit is contained in:
Saul-Mirone
2025-01-06 15:15:14 +00:00
parent 46c8c4a408
commit f778d1a28a
127 changed files with 170 additions and 207 deletions

View File

@@ -1,8 +1,4 @@
import {
BlockStdScope,
type ExtensionType,
ShadowlessElement,
} from '@blocksuite/block-std';
import { BlockStdScope, ShadowlessElement } from '@blocksuite/block-std';
import {
type AbstractEditor,
type DocMode,
@@ -11,7 +7,7 @@ import {
ThemeProvider,
} from '@blocksuite/blocks';
import { SignalWatcher, Slot, WithDisposable } from '@blocksuite/global/utils';
import type { BlockModel, Blocks } from '@blocksuite/store';
import type { BlockModel, Blocks, ExtensionType } from '@blocksuite/store';
import { computed, signal } from '@preact/signals-core';
import { css, html } from 'lit';
import { property } from 'lit/decorators.js';