mirror of
https://github.com/halo-dev/halo.git
synced 2025-12-14 16:24:01 +08:00
chore: export Fragment from pm package (#7985)
#### What type of PR is this? /kind improvement /area editor /milestone 2.22.x #### What this PR does / why we need it: 将 Fragment 包从 PM 包中导出,而不是 core 包,用于解决 https://github.com/halo-sigs/plugin-hybrid-edit-block/issues/24 的错误 #### How to test it? 测试使用插件 `plugin-hybrid-edit-block` 是否会报错的问题。 #### Does this PR introduce a user-facing change? ```release-note None ```
This commit is contained in:
@@ -1,13 +1,8 @@
|
||||
export * from "./core";
|
||||
export {
|
||||
Editor,
|
||||
Fragment,
|
||||
MarkView,
|
||||
type MarkType,
|
||||
type NodeType,
|
||||
} from "./core";
|
||||
export { Editor, MarkView, type MarkType, type NodeType } from "./core";
|
||||
export * from "./pm";
|
||||
export {
|
||||
Fragment,
|
||||
InputRule as PMInputRule,
|
||||
Mark as PMMark,
|
||||
Node as PMNode,
|
||||
|
||||
Reference in New Issue
Block a user