Skip to content
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

Incorrect callout rendering in "new window" view #344

Open
3 of 7 tasks
juliandeleonguerrero opened this issue May 28, 2024 · 1 comment
Open
3 of 7 tasks

Incorrect callout rendering in "new window" view #344

juliandeleonguerrero opened this issue May 28, 2024 · 1 comment

Comments

@juliandeleonguerrero
Copy link

Check for existing bug reports before submitting.

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

Expected Behavior

Experienced using custom callouts, default callouts do not appear affected. Custom callout should use icon and custom color designated by the admonition plugin. See attached screenshot for how it renders normally, within the main Obsidian window.

image

Current behaviour

Confirmed on Windows 11. Custom callouts made via admonition appear to default to the default color for callouts, when popped out into a new window view:

image

Icon and color are incorrect.

Strangely enough, the plugin functions correctly in the new window view if you insert an admonition, rather than using the callout functionality present within Obsidian.

image

image

I have attached the Obsidian vault I used to test this. It is a fresh Obsidian vault with a fresh admonition install, though I had to import my previous custom callouts.

default_obsidian.zip

Reproduction

  1. Create a new Obsidian vault, or maybe a sandbox vault.
  2. Install the Admonitions plugin.
  3. Import or create a custom admonition type (tested with both). Specify a custom color and icon.
  4. Add custom admonitions to notes, using callout syntax.
  5. Open note in new window, as screenshot: image
  6. Callout will render incorrectly.

Which Operating Systems are you using?

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

Obsidian Version Check

1.5.12, installer version 1.5.3

Plugin Version

10.3.1

Confirmation

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

Possible solution

No response

@juliandeleonguerrero
Copy link
Author

What's really strange 🤔 It rendered the custom icon the first time, but not the subsequent times... it also used a different icon in subsequent instances. I'm just now realizing that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant