NLdoc.Conversion.Reader.Tiptap (NLdoc.Conversion.Reader.Tiptap v1.2.30)

View Source

Reader for convert_elementing Tiptap elements to Spec Resources.

Summary

Functions

Converts Tiptap document to a NLdoc document.

Types

tiptap_attribute()

@type tiptap_attribute() :: {String.t(), tiptap_attribute_value()}

tiptap_attribute_value()

@type tiptap_attribute_value() :: String.t() | number() | boolean()

Functions

convert(element)

@spec convert(map()) :: NLdoc.Spec.Document.t()

Converts Tiptap document to a NLdoc document.