Hierarchy

  • Create

Implements

Methods

  • Apply to element createAttributes options

    Parameters

    Returns void

  • Type Parameters

    • K extends keyof HTMLElementTagNameMap

    Parameters

    Returns HTMLElementTagNameMap[K]

  • Type Parameters

    • K extends keyof HTMLElementTagNameMap

    Parameters

    Returns HTMLElementTagNameMap[K]

  • Create invisible text node

    Returns Text

  • Create DOM element from HTML text

    Parameters

    • html: string | number
    • Optional refsToggleElement: IDictionary<boolean | void, string>

      State dictionary in which you can set the visibility of some of the elements

      const editor = Jodit.make('#editor');
      editor.createInside.fromHTML(`<div>
      <input name="name" ref="name"/>
      <input name="email" ref="email"/>
      </div>`, {
      name: true,
      email: false
      });

    Returns HTMLElement

  • Create text node

    Parameters

    • value: string

    Returns Text

Constructors

Properties

createAttributes?: CanUndef<IDictionary<Attributes | NodeFunction, string>>
document: Document | (() => Document)

Jodit PRO

If you like Jodit - try Jodit PRO