mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-22 12:32:00 +08:00
refactor(editor): cleanup dead code (#9300)
This commit is contained in:
@@ -12,7 +12,6 @@ import type {
|
||||
import type { listToParagraphCommand } from './commands/list-to-paragraph.js';
|
||||
import type { splitListCommand } from './commands/split-list.js';
|
||||
import { ListBlockComponent } from './list-block.js';
|
||||
import type { ListBlockService } from './list-service.js';
|
||||
|
||||
export function effects() {
|
||||
customElements.define('affine-list', ListBlockComponent);
|
||||
@@ -20,10 +19,6 @@ export function effects() {
|
||||
|
||||
declare global {
|
||||
namespace BlockSuite {
|
||||
interface BlockServices {
|
||||
'affine:list': ListBlockService;
|
||||
}
|
||||
|
||||
interface CommandContext {
|
||||
listConvertedId?: string;
|
||||
indentContext?: IndentContext;
|
||||
|
||||
Reference in New Issue
Block a user