Trevixal API
    Preparing search index...

    Function bindListFolding

    • A press on a fold's chevron, which the stylesheet draws before an item's first block, out past its marker. The chevron is a ::before, so the press lands on the block itself, left of its box (right of it in text that runs right to left), where nothing else of the block can be. mousedown, and the default prevented, so the caret stays where the writer left it.

      Parameters

      • editor: Editor

      Returns () => void