Hover Editor

by NothingIsLost
5
4
3
2
1
Score: 78/100

Description

Category: Note Enhancements

The Hover Editor plugin transforms the page preview popover into a fully-fledged editor instance. This means you can now enjoy a more comprehensive editing experience when hovering over links or block references in your Obsidian vault. With this plugin, you can switch between modes, resize and reposition the editor, and even pin it to prevent auto-closing. The editor also features a navigational bar with document title and controls, allowing for easier navigation and management of your content. Additionally, the plugin includes settings for customizing the default editor mode and automatically scrolling to reference locations. Overall, Hover Editor enhances Obsidian's core functionality, providing a more streamlined and efficient editing experience.

Reviews

No reviews yet.

Stats

747
stars
489,744
downloads
32
forks
1,503
days
18
days
20
days
25
total PRs
0
open PRs
2
closed PRs
23
merged PRs
295
total issues
122
open issues
173
closed issues
6
commits

Latest Version

21 days ago

Changelog

README file from

Github

Obsidian Hover Editor

This plugin enhances the core "Page Preview" plugin by turning the hover popover into a full featured editor instance.

Disclaimer

This plugin leverages Obsidian functionality that is not currently exposed in the official API. As a result, future Obsidian updates may introduce breaking changes.

I will attempt to keep this plugin working across Obsidian updates but my goal is to either have this functionality implemented directly into Obsidian core or switch over to using the official API for popovers, once it is made available.

Features

  • The page preview popover is now an actual editor instance
    • Most editor functionality is supported including switching between modes
  • The popover is now draggable and resizable
  • The popover can now be pinned to prevent it from auto closing
    • Popovers will auto pin when dragged or resized
    • With pinning, multiple popovers can be open at the same time
  • When opening a popover, it will become the active pane and receive focus
    • This means you can use keyboard shortcuts like ctrl+e to switch modes after triggering a popover
    • When the popover closes, focus will revert back to the previous document
  • The popover now has a nav bar which includes the document title and editor controls
  • The top drag handle can be double clicked to minimize the popover
  • There is a plugin setting that allows for setting the default editor mode
    • Options are: "Open in Reading mode", "Open in Editing mode", or "Match the mode of the current document"
  • When hovering a link containing header or block ref, the editor will open and auto scroll to the ref location
  • When multiple popovers are active and on top of each other, the currently active popover will remain on top

Demo

https://user-images.githubusercontent.com/89109712/160023366-7a1ca044-5725-4d30-a0a7-f7e0664281da.mp4

Installing

Hover Editor can be found and installed via the Obsidian Community Plugins browser

Installing via BRAT

If you want to participate in early testing you can install the plugin using BRAT.

Install the BRAT plugin via the Obsidian Plugin Browser and then add the beta repository "nothingislost/obsidian-hover-editor"

Manually installing the plugin

  • Copy over main.js, manifest.json to your vault VaultFolder/.obsidian/plugins/obsidian-hover-editor/.

Acknowledgments

Thanks to pjeby for contributing a ton of core functionality related to making Hover Editors interop properly with native Obsidian components

Thanks to boninall for contributing the "open in new popover" functionality

Thanks to murf, liam, obadiahcruz, and javalent for the early testing and feedback

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Daily Notes Editor
3 years ago by boninall
A plugin for you to edit a bunch of daily notes in one page(inline), which works similar to Roam Research's default daily note view.
Kill and Yank
3 years ago by INOUE Takuya
Obsidian plugin to enable kill and yank in editor
Editor Autofocus
2 years ago by Mgussekloo
Formatto
2 years ago by Deca
Simple, fast, and easy-to-use Obsidian Markdown formatter.
Font Size Adjuster
2 years ago by Ryota Ushio
An Obsidian.md plugin to adjust font size via commands.
MathLive in Editor Mode
2 years ago by MizarZh
MathLive input in editor mode.
Better Word Count
5 years ago by Luke Leppan
Counts the words of selected text in the editor.
Typewriter Scroll
5 years ago by death_au
Typewriter Scroll Obsidian Plugin
Emoji Toolbar
5 years ago by oliveryh
An Obsidian plugin to quickly add emojis into your notes
Relative Line Numbers
5 years ago by Nadav Spiegelman
Min3ditorHotkeys
5 years ago by Davor Sauer
Obsidian plugin adding minimal editor hotkeys
Image in Editor
5 years ago by Ozan Tellioglu
This Obsidian plugin to view Images, Transclusions, iFrames and PDF Files within the Editor without a necessity to switch to Preview.
Sidebar Expand on Hover
5 years ago by Tousif Iqbal Anik (toiq)
This Obsidian plugin expands or collapses the sidebar based on mouse hovering on the ribbons.
Hover External Link
5 years ago by Jamie Brynes
Small plugin to add tooltips on hovering external links
Auto Split
4 years ago by James Sartelle
Open notes with side-by-side editor & preview
CookLang Editor
4 years ago by death_au/cooklang
Edit and display Cooklang recipes in Obsidian
Asciidoctor editor
2 years ago by dzruyk
Obsidian asciidoc editor plugin
Link Preview
a year ago by Felipe Tappata
Obsidian plugin that previews external links on hover.
Hover Reveal
a year ago by Shawn Yang
Source Mode Styling
3 months ago by Chris Howard
Obsidian plugin. Provides a customisable raw look in source mode using a monospace font to clearly differentiate from Live Preview.