Skip to content

InkKit 0.0.15

Choose a tag to compare

@aicayzer aicayzer released this 12 Oct 15:29
· 179 commits to main since this release
e3e3687

InkKit 0.0.15 makes standalone images behave as their own blocks and tidies attachment cards.

  • A paragraph that holds only one image is now its own block. Typing, Enter, paste or composition beside it writes a separate paragraph, arrow keys select it on the way past, and Backspace or Delete next to it selects it before deleting it. A click beside the card puts the caret after the image. Authored Markdown is unchanged on load and save.
  • Images that share a paragraph with text, are linked or formatted, or sit in a table cell or at the start of a list item stay inline and keep their source; their cards display on their own line.
  • insertImages() inserts one block per image, rather than all images on one line, and leaves the caret after the last one.
  • Typing or composing with an image selected writes a paragraph below it instead of replacing it. Paste over a selected image still replaces it.
  • Attachment cards replace the visible Open button with a compact open arrow after the filename, keeping its accessible name, focus and host action. The resize grip is centred on the whole card, the gap between picture and filename is smaller, and long filenames truncate without widening the card.

No public API was added or removed. The shared stylesheet owns the new card layout and gap cursor; hosts should not style internal attachment selectors.

Verification includes 677 unit tests, Chromium and targeted WebKit browser regressions, native WKWebView regressions on the exact candidate archive, and clean packed and registry consumers. Emulated and synthetic composition tests do not establish every operating-system input method.