-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
[Bug]: Adding Custom Admonition #311
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Any updates? |
I also just came across this bug as well. Can't use a custom icon, locks me to using only FA or the other two. Went digging in the code, and with the custom option currently broke, the only way to implement a custom icon is to hardcode it into the js file with the SVG path. |
Thanks for the info, I started making my own using CSS I found that you can actually put the SVG code inside the CSS file directly, and that seems to work out real well since one update in the file will propgate through my notes. Heres one I use for PowerShell scripts The SVG code is usally on one line, but this box text wraps so its not so elegant to read unless you copy and paste it out. |
Check for existing bug reports before submitting.
Expected Behavior
I expect the icon selection to accept the svg file I selected.
Current behaviour
It sort of appears to accept it but leaves the text field blank. If you look at the red box you can see an outline of the shape of my SVG icon but I cant save the dialog box as there is an error on the form
Reproduction
Select an SVG file, the preview sort of updates with a shadow shape of hte SVG I selected but I cant save the form
Which Operating Systems are you using?
Obsidian Version Check
1.3.5 and 1.3.4
Plugin Version
9.3.1
Confirmation
Possible solution
No response
The text was updated successfully, but these errors were encountered: