Brett Terpstra's "BulletList" extension deletes lines in Obsidian

Apologies if this is too much of an edge-case: I use the heck out of all of Brett Terpstra’s PopClip Extensions, especially the BulletList extension. But recently, it’s been malfunctioning in Obsidian: instead of converting multiple lines of text into a bulleted list, it generates a single paragraph, eliminating all the line breaks. Works fine in other apps.

In addition: if you hold down the ⌥ key, you get a numbered list, but this also doesn’t replace it in place. I suppose this is for Brett Terpstra to fix, but he’s already done so much for the community….

I’m unable to reproduce the fault in Obsidian, can you give more detailed instructions or a video perhaps?

Regarding the Option key, that one’s a mea culpa. I added a feature in PopClip such that when holding the ⌥ key when clicking an extension, it will display the result in the PopClip bar instead of the default action (such as pasting it).

However, you can disable this with the following Terminal command:

defaults write com.pilotmoon.popclip DisableAlternateActions -bool YES

then Quit and restart PopClip.

1 Like

Hi Nick,

Thanks for following up. I’ve done a fresh install of Brett’s popclip, and tried with with the plugins all turned off. Still not working.

Here’s what Brett wrote to me:

I’ve never examined it, but I’m going to assume Obsidian is electron-based and has its own text management. Same type of issue in VS Code, which is a major reason I don’t use it: none of my services and extensions that I rely on work properly with it. Not sure there’s any solution for obsidian, but if someone does have one, I’d be very interested in it.

Thanks,

Brett

CleanShot 2022-11-17 at 13.14.16

Thanks for the video and more details.

Weirdly, when I test it on my Mac, it works fine (see vid below). I wonder what could be different in our setups? I’m on macOS 12.5 with Obsidian 1.0.3.
CleanShot 2022-11-18 at 10.13.11

That said, can you try entering the following command in Terminal:

defaults write com.pilotmoon.popclip DeepCapture -bool YES

then Quit and restart PopClip. Does it change the behaviour?