Skip to content

Releases: tyler21richards/image-text-wrap

1.1.1

Choose a tag to compare

@github-actions github-actions released this 11 Oct 21:29

Fixes for phones and tablets, and a clean result in Obsidian's automated plugin review.

Phones and tablets

  • A slow double tap on a picture no longer changes its layout.
  • On a tablet the picture panel stays when the on-screen keyboard is open, switching to a single row when space is short, and stays beside a pinned sidebar instead of under it.
  • The panel no longer runs off the screen or covers the picture after rotating, in landscape, or when a button is tapped while the picture is still scrolling into view.
  • Labels fit on small phones in landscape.
  • Switching to Reading view, another note or another tab during a drag ends the drag at once.

Plugin review

  • The license is now recognized as MIT; third-party notices are in their own file.
  • No !important, no clip-path and no partly supported print properties in styles.css.
  • Release files now come with GitHub build attestations.

Tested in a real Obsidian 1.14.4 with real input on desktop, and in Obsidian's mobile emulation with real touch input at phone and tablet sizes.

1.1.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 17:56

Image Text Wrap 1.1.0 adds phone and tablet support.

On a phone or tablet

  • Tap a picture in Live Preview: a panel opens at the bottom of the screen with large buttons for In line, Wrap left, Wrap right and Top and bottom, and the spacing choices. It stays above Obsidian's navigation bar and the keyboard, and becomes a single compact row on a phone in landscape.
  • Press and hold a picture for about half a second to pick it up, then drag it to a new place. A quick swipe still scrolls the note, and a tap still selects the picture.

Also in this release

  • A pen on a desktop graphics tablet drags pictures exactly like the mouse.
  • The README has a screenshot, and the plugin description no longer names another product.

Tested in Obsidian's own mobile emulation with real touch input at phone and tablet sizes; please report anything that behaves differently on a real device. The plugin makes no network requests and collects no data.

1.0.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 07:56

Image Text Wrap 1.0.0: Word-style text wrapping for images in Obsidian (desktop, Obsidian 1.13.1 or later).

What it does

  • Click an image in Live Preview to get a picture toolbar: In line with text, Wrap text left, Wrap text right, Top and bottom, and Spacing (None, Small, Medium, Large).
  • Drag an image to the start of another paragraph, heading, list, quote, table or code block. A wrapped image takes the side of the note you drop it on, and the text flows around it at once.
  • Wrapped images look the same in Live Preview, Reading view and PDF export, and stay put while you scroll.
  • The same choices are in the right-click menu (Live Preview) and in the command palette.
  • Your notes stay plain Markdown: the layout is a word in the image link (![[photo.png|wrap-left|300]]). Remove the plugin and the images go back to normal at the size you gave them.

Changes since 0.1.0 (beta)

  • Fixes from two rounds of testing in a real Obsidian: undo and redo no longer move the view; the drop outline always matches where the image lands; captions such as "constructor" are no longer mistaken for layout words; pictures on indented lines, list continuations, lines with several pictures and inside sentences behave the same in Live Preview and Reading view; Obsidian's image viewer no longer shows layout words or duplicate pictures; Reading view no longer jumps beside tables or after edits in another pane; folded headings no longer show a stray copy of a picture.
  • Needs Obsidian 1.13.1 or later.

Install: with BRAT (add tyler21richards/image-text-wrap), or download the three files below into <vault>/.obsidian/plugins/image-text-wrap/. See the README for details and known limits. The plugin makes no network requests and collects no data.

0.1.0 (beta)

0.1.0 (beta) Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 10 Oct 22:31

First beta of Image Text Wrap: Word-style text wrapping for images in Obsidian (desktop, Obsidian 1.13 or later).

What you can do

  • Click an image in Live Preview to get a picture toolbar: In line with text, Wrap text left, Wrap text right, Top and bottom, and Spacing.
  • Drag an image to the start of another paragraph, heading, list, quote, table or code block. A wrapped image takes the side of the note you drop it on.
  • Wrapped images look the same in Live Preview, Reading view and PDF export.
  • The same choices are in the right-click menu (Live Preview) and in the command palette.

Install: with BRAT (add tyler21richards/image-text-wrap), or download the three files below into <vault>/.obsidian/plugins/image-text-wrap/. See the README for details and known limits.

This is a beta. Please report problems on the Issues page, with the note text if you can.