Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GetLeafDeserializerOptions

Hierarchy

Index

Properties

Optional attributeNames

attributeNames: string[]

List of HTML attribute names to store their values in node.attributes.

Optional getNode

getNode: (el: HTMLElement) => undefined | AnyObject

Map HTML element to slate node.

Type declaration

    • Parameters

      • el: HTMLElement

      Returns undefined | AnyObject

rules

List of rules the element needs to follow to be deserialized to a slate node.

type

type: string

Generated using TypeDoc