Highlightr not working in +Obsidian v.15.8 (last update) + other issues
See original GitHub issueHey Chetachi! Just leaving some issues on the plugins here, so you can take a look later, take your time to deal with your personal problems, no need to hurry! First of all, congrats on the obsidian plugins, very nice job you did, I can see that you putted much love and effort in every single one of them. Thank you a lot.
Alright, so now the issues:
- Highlightr stopped working in Obsidian v.15.6 (or superior), even the shortcuts.
- 7/22/22 - Updated Obsidian to v.15.8, when using the “Ctrl+P” shortcut it works, but the Highlightr pop up don’t.
- An old problem with Highlightr, that I believe you already know, is the space after the marked text. (#39)
- A small detail, that would be nice to analyze, is that cMenu is taking a lot to load.
- Snippets plugin didn’t stop, but is having some basic bugs in its structure (not making possible to create new CSS Snippets through the plugin and the “hovering” when using the mouse is also bugged).
As I said, take your time alright? That’s it, best of luck 🫂
For those having the same problem, in the coments there is a ton of really good solutions. I personally used (not so aesthetic, but is pretty useful) "Wrap with shortcuts plugin $^1$ ", you can configure hotkeys for each highlight color/font color. It won’t have rounded highlights, but it can be a good option until Highlightr plugin comes back.
- The code to highlight in obsidian is:
<font style="background-color:#FFBD59A6"> text here </font>
- The code to make colorful text is:
<font style="color:#FFBD59"> text here </font>
- The letters and numbers after the “#” are the HEX code that indicate a certain color, the “A6” indicate the transparency. You can find good pallete colors in: https://coolors.co/palettes
$^1$ copy and paste on browser: obsidian://show-plugin?id=obsidian-wrap-with-shortcuts
Peace ✌🏻
Issue Analytics
- State:
- Created a year ago
- Reactions:27
- Comments:52 (1 by maintainers)
Top GitHub Comments
For a workaround for the broken context menu (for the Desktop app), go to your
.obsidian\plugins
folder orSettings -> Community Plugins -> Installed Plugins
and click the folder icon:Go into the
highlightr-plugin
folder and openmain.js
. Search formenu.showAtPosition
and replace the following:with
Basically, the
menu.sort
function relies on menu items which this plugin just ignores. So, when it hitsmenu.sort
, the dropdown is rebuilt and the dom (which this plugin manipulates) is reset. This change just makes thesort
function a no-op.Hello friend @gabrielcarus ! Thank you for your notes!
I just released an update for Highlightr that should be much more compatible with Obsidian API. Please let me know if there are any issues with it!
This should be fixed in the update, though I’m still working on a function that is more intelligent.
I’ll have to completely redo cMenu at this point. Hoping to get this done soon.
I’ve also released an update for MySnippets. You should be able to create new snippets now.
And thank you everyone for being so patient 🙏🏽!