-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highlightr not working in +Obsidian v.15.8 (last update) + other issues #42
Comments
Can confirm. This just stopped working for me about 20 minutes ago. |
Confirm. Not working from today. |
confirm |
I am so happy I found this post, I thought I was the only one with this issue. |
Isn't working for me either |
confirm |
The shortcuts and the right-click menu do not work. |
Same here. Relieved to find this posting and hope it works again! |
Yes confirm, the right-click on highlight don't do anything |
confirm here. |
Just found this plugin and not working for me, ugh. |
I'm now getting "focus must be in editor" |
FYI, I found a partial work a round -- by setting hotkeys for the various colors, I can now again add highlights. But setting a hot key to open the highlightr doesn't work -- it just doesn't respond, and doesn't display the choice of colors. Also, to unlighlight, right-clicking on the highlight doesn't bring up the unhighlight menu, but raises a note that "focus must be in editor" (I'm using live preview). Clicking on the highlight puts it in edit mode, then right-clicking brings up unhighlight option, and clicking then unhighlights. Hope this may help in troubleshooting. Really like this plugin when it was working normally. See my post #41 |
Another workaround for those who don't want to make new hotkeys: Highlight the word, open command palette, "Highlightr" - pick a color. This takes longer, but I have enough hotkeys as it is, so this works for me as a temporary solution. |
Any news about that issue ? |
it is not working, +1 |
1 similar comment
it is not working, +1 |
Hmm, single keyboard shortcut to a color works for me as a workaround |
To be clear: (1) Select text Control P works fine. |
Still broken on obsidian 0.15.9, highlightr 1.2.1. |
I've just installed it yesterday and was struggling for hours. |
Its not working for me any more with obsidian 15.6 |
@chetachiezikeuzor could we please get a fix? thanks |
I'd like to confirm this is happening to me as well. The context menu doesn't work, but commands do. |
Working for me too ! Just got to restart my computer, only restart obsidian didn't work. |
Confirmed working for me. Thank you! |
Neither original (v 1.2.1) nor patch (as posted in this thread) working for me, for latest Obsidian Desktop app (0.15.9) on macOS Catalina. BUT (1) I am a newbie and (2) something odd going on. I tried adding Console messages - but they didn't appear. As an experiment I tried renaming 'main.js' and later even deleted the whole I don't know if this is normal/odd - but after putting the files back again out of Trash, I uninstalled and reinstalled 'highlightr', but the dates of files in that folder did not change, e.g. it was still the patched version of 'main.js' that was present (nothing was downloaded over the top of them). It feels (rightly or wrongly) like the plugin folder (or its files) is also getting put into some other plugins location, which the app uses instead. BTW-FWIW: Chrome released an update - maybe that upset some things? |
Yup, works for me too; thanks much! |
The last update of this plugin is last December so it is already fossilized. |
Thx ! |
The workaround by @remerle fixed the Highlightr issue with context menu not showing on v.0.15.9 Workaround: |
Thanks for the workaround. |
Just a heads up - the workaround in #42 (comment) works great on up to Obsidan version v0.15.9. If you are using v0.16.0, you will have to add one line:
From what I can tell, this will force Obsidian to use DOM rather than the new native menu in v0.16.0. You can see this declared in the v16 API Docs. Note: This only works on the Desktop app. So, the full replacement text would look like: menu.setUseNativeMenu(false);
const orig=menu.__proto__.sort; // Save the original function
menu.__proto__.sort = function() {}; // Replace the sort function with a no-op function
menu.showAtPosition({
x: coords.right + 25,
y: coords.top + 20,
});
menu.__proto__.sort=orig; // Reset the sort function |
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 🙏🏽! |
FYI, MacOs 12.5.1, Obsidian 0.15.9 on Highlightr 12.2.2 still has issue with the menu not showing up when you click highlight. "Ctrl+P" shortcut still works though |
Sadly this fix doesn't work for me (the menu doesn't show up and I have the "focus must be on editor" issue), but command palette shortcut works. |
That sounds like this new issue: #47 |
That worked, thank you so much for pointing that out ! |
Still not working on latest Windows 10 version, please fix! |
@Vanillemilch, thank you, works indeed! |
Oddly, and probably unrelated to the menu, I get yellow as a color, but nothing else - looks as if the tag "mark" has a predefined color and ignores everything else. If I replace it manually by "span", it works. Anyone had that? |
@Vanillemilch, thank you - that fixed it. |
Thank you for pointing that out! I have the same issue with Obsidian v0.14.6 (latest version for my device) and Highlightr 1.2.2. Shortcut for opening the highlight options doesn't work, right click menu doesn't work, but shortcuts for individual colours work. I downgraded the plugin to 1.2.1 and it finally works normally. I just upgraded it yesterday and hopefully the bug could be fixed for 1.2.2! |
Hey 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:
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.$^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.
I personally used (not so aesthetic, but is pretty useful) "Wrap with shortcuts plugin
<font style="background-color:#FFBD59A6"> text here </font>
<font style="color:#FFBD59"> text here </font>
Peace ✌🏻
The text was updated successfully, but these errors were encountered: