Skip to content

🐞 make admonition NOT editable when clicking into it #361

@nousernameavailableanymore

Description

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

In version v10.1.0 #278 was introduced.

However, this should be treated as a bug (at least in its current state), because:

  1. this is not consistent anymore with callouts, which will also NOT go to edit mode when you click into them. Admonitions are more comparable to callouts and should not be treated like codeblocks.
  2. this makes certain other plugins completely unusable in Live preview. For example when you want to wrap an inline input from the Meta Bind plugin, you cannot click that input field anymore (for example a drop down), as the wrapping admonition will instantly go to edit mode instead of opening the Meta Bind plugin dropdown. This works fine in callouts.

So long story short, please revert this change as it makes admonitions behave considerably worse than callouts preventing certain plugins to be used inside admonitions in Live Preview.

Current behaviour

Reproduction

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

latest

Plugin Version

latest

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

revert changes regarding #278

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions