javalent / admonitions

Adds admonition block-styled content to Obsidian.md
MIT License
1.08k stars 72 forks source link

🐞 Default Admonition Types missing from latest update #343

Closed MyHeadHurtsNow closed 4 months ago

MyHeadHurtsNow commented 4 months ago

Check for existing bug reports before submitting.

Expected Behavior

Default types should have been in the drop down menu and the desired default displayed for selection (e.g. Important) selected when first 3 or characters entered by user

Current behaviour

Upon using the menu short cut to enter an admonition, the Admonition menu open as normal. But as I typed in the Important type required, the plug in returned an error message stating no such admonition exists.

Reproduction

  1. Select Admonition icon ftom Ribbon Menu.
  2. Enter "imp" in Admonition Type selection entry box.
  3. You will receive error msg "No such admonition exists

Which Operating Systems are you using?

Obsidian Version Check

1.5.12 (134)

Plugin Version

10.3.1

Confirmation

Possible solution

No response

n30s4m commented 4 months ago

The same occurs for me, through the activation for insertion by means of shortcut. No Admonition appears, neither the patterns nor those created by the user. I tried to disable the shortcut and create again, opened and closed Obsidian (W11) but did not return. I also tried to export the existing ones and import again, but it didn't work either.

martin-arg commented 4 months ago

I have the same problem in windows 10, in several computers.

albertoloscerritos commented 4 months ago

same here

Smitty010 commented 4 months ago

Windows 11, latest obsidian, same here

I did something that seemed to make some difference. I found files octicons.json and rpg.json in the admonitions plugin folder. They both date to early 2023. I removed them from the folder and restarted obsidian.

Now when I use the "Insert Callout" hotkey, I don't get a dropdown of available callouts, but if I type "info" and hit "insert", the selected code is setup as a callout of type "info".

Manu3232 commented 4 months ago

same, no more dropdown in the menu

image

MyHeadHurtsNow commented 4 months ago

Thank-you for the fix and all your hard work getting and keeping Admonitions running. It's the first and only issue I've ever had with it. And that speaks to your diligence and skills.