View Source Philtre.Block.ContentEditable.Cell (philtre v0.11.1)

Represents a single cell within a block. Cells are discrete parts of a block, to which some style (specified by modifiers) is applied.

The logic of a block is such that there is no nesting of cells so everything is just one level, separated purely to support styling.

Link to this section Summary

Link to this section Types

@type id() :: String.t()
@type t() :: %Philtre.Block.ContentEditable.Cell{
  id: id(),
  modifiers: [String.t()],
  text: String.t()
}

Link to this section Functions