Trevixal API
    Preparing search index...

    Function toggleImageCaption

    • Add a caption to an image, or take it away again: wrapping in a figure and unwrapping back to the bare image are the same user-facing toggle, so they are one command and one undo step. Wrapping leaves the caret in the new caption, because the only reason to add one is to type in it.

      Parameters

      • Optionalat: Path

      Returns Command