Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GetNodeDeserializerOptions

Hierarchy

  • GetNodeDeserializerOptions

Index

Properties

Optional attributeNames

attributeNames: string[]

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

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

Optional withoutChildren

withoutChildren: boolean

Whether or not to include deserialized children on this node

Generated using TypeDoc