API Reference philtre v0.12.1

modules

Modules

Defines what the structure of a block should be

Elixir-side implementation of the code-type block

Represents the generic contenteditable block.

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

Cleans up empty cells from a block.

Reduces a block by merging in cells with the same styling (modifiers).

Holds current selection in a block.

Implements a list block

Represents a single item in the list block

Implementation for a table section/component of the editor

Hardcoded registry for block types. Once custom blocks are possible externally, this will be a config- or runtime registry.

Shared component used for both creation and editing of an article.

Holds shared logic for modifying editor blocks

Holds normalization and serialization logic for the editor

Contains various utility functions used by the library, that don't really have another place to fit in.

Single live component in charge of rendering all types of live blocks.

Static component used to render any type of block.

Shared component used for both creation and editing of an article.

Main context for storing editor content onto disk as json

Module with named helpers generated from Playground.Router.

mix-tasks

Mix Tasks

Handles conversion of old block formats to newer