@wangeditor-kai/editor 5.6.37 → 5.6.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  * @description Editor View class
3
3
  * @author wangfupeng
4
4
  */
5
- import { IDomEditor, IEditorConfig, IElemToHtmlConf, IModuleConf, IParseElemHtmlConf, IPreParseHtmlConf, IRegisterMenuConf, IRenderElemConf, IToolbarConfig, ParseStyleHtmlFnType, RenderStyleFnType, styleToHtmlFnType } from '@wangeditor-next/core';
5
+ import { IDomEditor, IEditorConfig, IElemToHtmlConf, IModuleConf, IParseElemHtmlConf, IPreParseHtmlConf, IRegisterMenuConf, IRenderElemConf, IToolbarConfig, ParseStyleHtmlFnType, RenderStyleFnType, styleToHtmlFnType } from '@wangeditor-kai/core';
6
6
  import { ISingleMenuConfig } from 'packages/core/src/config/interface';
7
7
  type PluginType = <T extends IDomEditor>(editor: T) => T;
8
8
  declare class Boot {
@@ -2,9 +2,9 @@
2
2
  * @description create
3
3
  * @author wangfupeng
4
4
  */
5
+ import { IDomEditor, IEditorConfig, IToolbarConfig, Toolbar } from '@wangeditor-kai/core';
5
6
  import { Descendant } from 'slate';
6
7
  import { DOMElement } from './utils/dom';
7
- import { IEditorConfig, IDomEditor, IToolbarConfig, Toolbar } from '@wangeditor-next/core';
8
8
  export interface ICreateEditorOption {
9
9
  selector: string | DOMElement;
10
10
  config: Partial<IEditorConfig>;
@@ -11,8 +11,8 @@ import './register-builtin-modules/index';
11
11
  import './init-default-config';
12
12
  import Boot from './Boot';
13
13
  export { Boot };
14
- export { DomEditor, IDomEditor, IEditorConfig, IToolbarConfig, Toolbar, IModuleConf, IButtonMenu, ISelectMenu, IDropPanelMenu, IModalMenu, i18nChangeLanguage, i18nAddResources, i18nGetResources, t, genModalTextareaElems, genModalInputElems, genModalButtonElems, createUploader, IUploadConfig, } from '@wangeditor-next/core';
15
- export { Transforms as SlateTransforms, Descendant as SlateDescendant, Editor as SlateEditor, Node as SlateNode, Element as SlateElement, Text as SlateText, Path as SlatePath, Range as SlateRange, Location as SlateLocation, Point as SlatePoint, } from 'slate';
14
+ export { createUploader, DomEditor, genModalButtonElems, genModalInputElems, genModalTextareaElems, i18nAddResources, i18nChangeLanguage, i18nGetResources, IButtonMenu, IDomEditor, IDropPanelMenu, IEditorConfig, IModalMenu, IModuleConf, ISelectMenu, IToolbarConfig, IUploadConfig, t, Toolbar, } from '@wangeditor-kai/core';
15
+ export { Descendant as SlateDescendant, Editor as SlateEditor, Element as SlateElement, Location as SlateLocation, Node as SlateNode, Path as SlatePath, Point as SlatePoint, Range as SlateRange, Text as SlateText, Transforms as SlateTransforms, } from 'slate';
16
16
  export { createEditor, createToolbar } from './create';
17
17
  declare const _default: {};
18
18
  export default _default;
@@ -2,6 +2,6 @@
2
2
  * @description 注册 module
3
3
  * @author wangfupeng
4
4
  */
5
- import { IModuleConf } from '@wangeditor-next/core';
5
+ import { IModuleConf } from '@wangeditor-kai/core';
6
6
  declare function registerModule(module: Partial<IModuleConf>): void;
7
7
  export default registerModule;