Edit embedded notes right where they are. In Live Preview, an embed such as ![[Note]], ![[Note#Heading]] or ![[Note#^block]] becomes a real editor instead of a read-only preview. Type in it, and the changes are saved to the embedded note.
Features
- Edit in place. Whole notes, headings, blocks and list items (with their nested items) are editable inside the note that embeds them.
- Only the embedded part shows. For a heading or block embed, the rest of the note stays hidden, and edits can't reach it.
Ctrl/Cmd+A selects only the visible part.
- Saved automatically. Changes are written to the embedded note as you type. If the note changes somewhere else (another pane, sync, another plugin), the embed updates.
- Your usual editor. Hotkeys and commands (bold, links, lists and so on) work inside the embed, the same as in a normal note.
- Open the note. The link icon in the corner of the embed opens the embedded note.
Reading mode, hover previews, and embeds of files other than notes keep Obsidian's normal behaviour.
Settings
By default, every embedded note is editable. To limit this, turn on Only notes with these tags are editable and enter the tags, separated by commas or spaces. A tag also matches its nested tags: project matches #project/work. Tags can be in the note's properties or in its text.
When you close the settings, open notes reload so the embeds use the new rule.
Good to know
- Embeds work in Live Preview only, not in Source mode or Reading mode.
- If you add or remove a tag on a note while the tag setting is on, close and reopen the note that holds the embed. Obsidian keeps embeds it has already built.
- A note that embeds itself, and embeds nested more than 3 levels deep, stay read-only to prevent endless loops.
- This plugin uses parts of Obsidian that aren't in the public API, so an Obsidian update can break it. If that happens, please open an issue.
Installation
Open Settings → Community plugins → Browse, search for Editable Embeds, then install and enable it.
Manually
- Download
main.js, manifest.json and styles.css from the latest release.
- Put them in
<your vault>/.obsidian/plugins/editable-embeds/.
- Reload Obsidian and enable Editable Embeds in Settings → Community plugins.
Credits
The way the editor is put inside an embed comes from Outliner.MD by Boninall (Quorafind). Thank you!
License
MIT