SVG Quick Editor

by Jeff1024
5
4
3
2
1
Score: 50/100

Description

Quickly edit SVG text chips in place, duplicate on Alt+drag, and delete empty chips in Obsidian.

Reviews

No reviews yet.

Stats

0
stars
13
downloads
0
forks
3
days
3
days
3
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
4
commits

Latest Version

3 days ago

Changelog

Release v0.1.3: Sanitize test fixtures, update internal test cards to generic labels, and ensure compliance with Obsidian plugin directory standards.

README file from

Github

SVG Quick Editor

Quickly edit text inside SVG graphics directly in Obsidian without needing external graphics software.

Supports inline SVGs in notes, embedded .svg files, and lightbox views.

Features

  • In-Place Text Editing: Hover over any text in an SVG and press F2 (or your custom hotkey) to edit text in place. Press Enter or click outside to commit changes.
  • Smart Element Removal: Clearing the text and committing will automatically remove the corresponding text chip and its background element.
  • Alt + Drag Duplication: Hold Alt and drag a chip to clone it within the SVG diagram.
  • Undo / Redo: Supports Ctrl + Z and Ctrl + Y to undo or redo recent SVG modifications.
  • Full View & Lightbox Support: Seamlessly works with inline note SVGs, embedded files, and modal lightboxes (such as Fluent Tasks).

Usage

  1. Hover your cursor over any text in an SVG diagram. A dashed bounding box will indicate the active element.
  2. Press F2 to open the inline text overlay.
  3. Edit the text and press Enter to save, or Esc to cancel.
  4. To duplicate a card or chip, hold the Alt key, click and drag the element to a new location.
  5. Use Ctrl + Z to undo modifications, or Ctrl + Y to redo.

Command

  • SVG Quick Editor: Edit SVG text under cursor: Activates inline text editing for the currently hovered SVG element. You can assign any hotkey to this command in Obsidian Settings -> Hotkeys.

License

MIT License. See LICENSE for details.