Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

createEditor

  • Create a new Editor instance using the given options

    Parameters

    • contentDiv: HTMLDivElement

      The html div element needed for creating the editor

    • Optional additionalPlugins: EditorPlugin[]

      The additional user defined plugins. Currently the default plugins that are already included are PastePlugin, EditPlugin, user don't need to add those.

    • Optional initialModel: ContentModelDocument

      The initial content model to show in editor. It can't be removed by undo, user need to manually remove it if needed.

    Returns IEditor

    The Editor instance

Generated using TypeDoc