mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 01:56:27 +08:00
feat(editor): add inline packages (#11048)
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
||||
LinkedWidgetUtils,
|
||||
} from '@blocksuite/affine/blocks/root';
|
||||
import type { DocMode } from '@blocksuite/affine/model';
|
||||
import type { AffineInlineEditor } from '@blocksuite/affine/rich-text';
|
||||
import type { AffineInlineEditor } from '@blocksuite/affine/shared/types';
|
||||
import type { DocMeta } from '@blocksuite/affine/store';
|
||||
import { Text } from '@blocksuite/affine/store';
|
||||
import {
|
||||
|
||||
+2
-4
@@ -1,10 +1,8 @@
|
||||
import { PropertyValue } from '@affine/component';
|
||||
import { ConfigModal } from '@affine/core/components/mobile';
|
||||
import type { BlockStdScope } from '@blocksuite/affine/block-std';
|
||||
import {
|
||||
DefaultInlineManagerExtension,
|
||||
RichText,
|
||||
} from '@blocksuite/affine/rich-text';
|
||||
import { DefaultInlineManagerExtension } from '@blocksuite/affine/inlines/preset';
|
||||
import { RichText } from '@blocksuite/affine/rich-text';
|
||||
import type { Store } from '@blocksuite/affine/store';
|
||||
import { TextIcon } from '@blocksuite/icons/rc';
|
||||
import { type LiveData, useLiveData } from '@toeverything/infra';
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
import { defaultBlockMarkdownAdapterMatchers } from '@blocksuite/affine/adapters';
|
||||
import { Container } from '@blocksuite/affine/global/di';
|
||||
import {
|
||||
InlineDeltaToMarkdownAdapterExtensions,
|
||||
MarkdownInlineToDeltaAdapterExtensions,
|
||||
} from '@blocksuite/affine/inlines/preset';
|
||||
import {
|
||||
type AttachmentBlockModel,
|
||||
type BookmarkBlockModel,
|
||||
@@ -8,10 +12,6 @@ import {
|
||||
type TableBlockModel,
|
||||
TableModelFlavour,
|
||||
} from '@blocksuite/affine/model';
|
||||
import {
|
||||
InlineDeltaToMarkdownAdapterExtensions,
|
||||
MarkdownInlineToDeltaAdapterExtensions,
|
||||
} from '@blocksuite/affine/rich-text';
|
||||
import { MarkdownAdapter } from '@blocksuite/affine/shared/adapters';
|
||||
import type { AffineTextAttributes } from '@blocksuite/affine/shared/types';
|
||||
import {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import type { BlockComponent, EditorHost } from '@blocksuite/affine/block-std';
|
||||
import type { SurfaceRefBlockComponent } from '@blocksuite/affine/blocks/surface-ref';
|
||||
import { AffineReference } from '@blocksuite/affine/inlines/reference';
|
||||
import type {
|
||||
AttachmentBlockModel,
|
||||
DocMode,
|
||||
@@ -8,7 +9,6 @@ import type {
|
||||
ImageBlockModel,
|
||||
SurfaceRefBlockModel,
|
||||
} from '@blocksuite/affine/model';
|
||||
import { AffineReference } from '@blocksuite/affine/rich-text';
|
||||
import type { Block, BlockModel } from '@blocksuite/affine/store';
|
||||
import { Entity, LiveData } from '@toeverything/infra';
|
||||
import type { TemplateResult } from 'lit';
|
||||
|
||||
@@ -11,7 +11,7 @@ import { DebugLogger } from '@affine/debug';
|
||||
import { GfxControllerIdentifier } from '@blocksuite/affine/block-std/gfx';
|
||||
import { DisposableGroup } from '@blocksuite/affine/global/disposable';
|
||||
import { Bound } from '@blocksuite/affine/global/gfx';
|
||||
import { RefNodeSlotsProvider } from '@blocksuite/affine/rich-text';
|
||||
import { RefNodeSlotsProvider } from '@blocksuite/affine/inlines/reference';
|
||||
import {
|
||||
FrameworkScope,
|
||||
useLiveData,
|
||||
|
||||
Reference in New Issue
Block a user