View Source Philtre.Block.ContentEditable.Reduce (philtre v0.12.1)

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

The aim is to reduce the overall number of redundant cells and keep the output HTML as simple as possible.

Link to this section Summary

Functions

Reduces the block by joining neighboring cells with the same modifiers.

Link to this section Functions

Reduces the block by joining neighboring cells with the same modifiers.

Since selection is defined by cell ids, it needs to be updated as well.