mweiss/elm-rte-toolkit/1.0.3

NOTE: the latest version is 1.0.4

RichText.Model.InlineElement

An inline element is an element with marks. It represents the contents of an inline node that is not a text node.

InlineElement is an element with marks. It represents the contents of an inline node that is not a text node.

inlineElement : Element -> List Mark -> InlineElement

Creates an inline element from an element and a list of marks

element : InlineElement -> Element

Element from an inline element

marks : InlineElement -> List Mark

Marks from an inline element

Creates an inline element with the new Element

Creates an inline element with the new marks