Options
All
  • Public
  • Public/Protected
  • All
Menu

This refers to an inline element (as opposed to block) in editor Inline and block makes the "type" system in editor. An inline element is a maximum resolvable "entity" within the boundary of a block At minimum and also most commonly, it represents a text node. It can represent broader "content" depending on the resolvers that are available, i.e. it can be anchor link, image, emoji, ... Two rules:

  1. every inline element must have a container node (text or span, a etc.)
  2. inline element cannot be nested

Hierarchy

  • InlineElement

Implemented by

Index

Methods

applyStyle

  • applyStyle(styler: (element: HTMLElement, isInnerNode?: boolean) => any): void
  • Apply inline style to a region of an inline element

    Parameters

    • styler: (element: HTMLElement, isInnerNode?: boolean) => any
        • (element: HTMLElement, isInnerNode?: boolean): any
        • Parameters

          • element: HTMLElement
          • Optional isInnerNode: boolean

          Returns any

    Returns void

contains

getContainerNode

  • getContainerNode(): Node

getEndPosition

getParentBlock

getStartPosition

getTextContent

  • getTextContent(): string

isAfter

isTextualInlineElement

  • isTextualInlineElement(): boolean

Generated using TypeDoc