javalent / admonitions

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

🐞 Compatibility issues fixed in version 1.6.0. #338

Closed kickTiger closed 1 month ago

kickTiger commented 1 month ago

Check for existing bug reports before submitting.

Expected Behavior

Yesterday, Obsidian released the beta version of 1.6.0, and it seems that there have been changes to its CSS styles, as well as abandonment of some API interfaces.

  1. This has led to the Admonition plugin losing a menu when the popup window appears, making it unable to recognize the Admonition type, resulting in the absence of this menu.

Current behaviour

When opening the command palette and then using the Admonition plugin to insert a callout, the popup window fails to display the Admonition type correctly.

It appears severely misaligned at the position indicated in image 2. Furthermore, it is also not selectable.

image

Reproduction

On a Windows 10 64-bit system, Obsidian 1.6.0 version is installed.

  1. Then, using the command palette of the Admonition plugin, insert a Callout.
  2. The popup Admonition window appears misaligned.

Which Operating Systems are you using?

Obsidian Version Check

1.6.0

Plugin Version

10.2.0

Confirmation

Possible solution

No response