@wangeditor-next/editor
- Version 5.6.49
- Published
- 7.22 MB
- 20 dependencies
- MIT license
Install
npm i @wangeditor-next/editoryarn add @wangeditor-next/editorpnpm add @wangeditor-next/editorOverview
Web rich text editor, Web 富文本编辑器
Index
Variables
Functions
Classes
Boot
- editorConfig
- plugins
- registerElemToHtml()
- registerMenu()
- registerModule()
- registerParseElemHtml()
- registerParseStyleHtml()
- registerPlugin()
- registerPreParseHtml()
- registerRenderElem()
- registerRenderStyle()
- registerStyleToHtml()
- setEditorConfig()
- setSimpleEditorConfig()
- setSimpleToolbarConfig()
- setToolbarConfig()
- simpleEditorConfig
- simpleToolbarConfig
- toolbarConfig
Variables
variable _default
const _default: {};Functions
function createEditor
createEditor: (option?: Partial<ICreateEditorOption>) => IDomEditor;创建 editor 实例
function createToolbar
createToolbar: (option: ICreateToolbarOption) => Toolbar;创建 toolbar 实例
Classes
class Boot
class Boot {}constructor
constructor();property editorConfig
static editorConfig: IEditorConfig;property plugins
static plugins: PluginType[];property simpleEditorConfig
static simpleEditorConfig: IEditorConfig;property simpleToolbarConfig
static simpleToolbarConfig: IToolbarConfig;property toolbarConfig
static toolbarConfig: IToolbarConfig;method registerElemToHtml
static registerElemToHtml: (elemToHtmlConf: IElemToHtmlConf) => void;method registerMenu
static registerMenu: ( menuConf: IRegisterMenuConf, customConfig?: ISingleMenuConfig) => void;method registerModule
static registerModule: (module: IModuleConf) => void;method registerParseElemHtml
static registerParseElemHtml: (parseElemHtmlConf: IParseElemHtmlConf) => void;method registerParseStyleHtml
static registerParseStyleHtml: (fn: ParseStyleHtmlFnType) => void;method registerPlugin
static registerPlugin: (plugin: PluginType) => void;method registerPreParseHtml
static registerPreParseHtml: (preParseHtmlConf: IPreParseHtmlConf) => void;method registerRenderElem
static registerRenderElem: (renderElemConf: IRenderElemConf) => void;method registerRenderStyle
static registerRenderStyle: (fn: RenderStyleFnType) => void;method registerStyleToHtml
static registerStyleToHtml: (fn: styleToHtmlFnType) => void;method setEditorConfig
static setEditorConfig: (newConfig?: IEditorConfig) => void;method setSimpleEditorConfig
static setSimpleEditorConfig: (newConfig?: IEditorConfig) => void;method setSimpleToolbarConfig
static setSimpleToolbarConfig: (newConfig?: IToolbarConfig) => void;method setToolbarConfig
static setToolbarConfig: (newConfig?: IToolbarConfig) => void;Package Files (3)
Dependencies (20)
- @uppy/core
- @uppy/xhr-upload
- @wangeditor-next/basic-modules
- @wangeditor-next/code-highlight
- @wangeditor-next/core
- @wangeditor-next/list-module
- @wangeditor-next/table-module
- @wangeditor-next/upload-image-module
- @wangeditor-next/video-module
- dom7
- is-hotkey
- lodash.camelcase
- lodash.clonedeep
- lodash.debounce
- lodash.foreach
- lodash.throttle
- lodash.toarray
- nanoid
- slate
- snabbdom
Dev Dependencies (3)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@wangeditor-next/editor.
- Markdown[](https://www.jsdocs.io/package/@wangeditor-next/editor)
- HTML<a href="https://www.jsdocs.io/package/@wangeditor-next/editor"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 5797 ms. - Missing or incorrect documentation? Open an issue for this package.
