Trevixal API
    Preparing search index...
    • The image a command should act on: activeImage, an explicit path, or, because images are atoms that hold no caret, the block right after the selection, which is where a freshly inserted image sits.

      Parameters

      • state: EditorState
      • Optionalat: Path

      Returns ImageHit | null