Skip to content

Fix insertion of literature reference in canvas#239

Open
ypislon wants to merge 3 commits intohans:developfrom
ypislon:enable-link-creation-for-canvas
Open

Fix insertion of literature reference in canvas#239
ypislon wants to merge 3 commits intohans:developfrom
ypislon:enable-link-creation-for-canvas

Conversation

@ypislon
Copy link
Copy Markdown

@ypislon ypislon commented Jul 9, 2023

Currently, it is not possible to add literature references or markdown citations to Obsidian canvas.

This fix enables editor access for canvas (as opposed to editor access for Markdown files only). It is a "quick and dirty" fix, as there is no convenient API for canvas (yet).

Excepted behavior:

  • Open canvas
  • Select inserted markdown file node or canvas-only text node
  • Enter "edit mode" in respective node
  • Add literature reference
  • Literature reference is added in currently active node

Tested in Obsidian v1.3.5.

Should fix #217.

@ypislon ypislon changed the base branch from master to develop July 9, 2023 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Citations not working on Obsidian Canvas

1 participant