refactor(editor): cleanup dead code (#9300)

This commit is contained in:
Saul-Mirone
2024-12-25 07:48:00 +00:00
parent 16c59d96d9
commit 7c84545647
17 changed files with 8 additions and 174 deletions
@@ -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;