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
New Release? Everything broken in new Obsidian. #89
Comments
I also encountered this issue |
Also facing this issue |
me too,I hope someone can solve it |
I think the question is really urgent |
I also encountered this issue. |
have to use the Official client,but it is inconvenient |
Quick Solution FoundCreated a bug report on Obsidian Forum: forum Delete this file in obsidian-1.5.3.asar works!! If you guy need the file editted and packed. Just replace the file ProveStep to do it your self:Command used:
|
Thank you for the quick-fix. Could you maybe explain it for someone who has no idea about those things? |
Please include a full log of the commands you've run and their output next time. I'm guessing From Obsidian 1.5, a new Content Security Policy is enforced for external themes, images, audios and anything being media/style related. I will try to look for the stylesheets that are loaded remotely myself, but as I am pretty inexperienced with the code-base of this project, some support would speed this up a notch. |
Update, found the solution to the majority of the problem. export function loadStylesheet(href: string) {
const link = document.createElement("link");
link.setAttribute("rel", "stylesheet");
link.setAttribute("href", href);
document.head.appendChild(link);
} This function gets called by Even though the url uses the prefix Found simple fiximport drawioCss from "inline!./src/drawio-client/drawio.css";
export function loadStylesheet() {
const style = document.createElement("style");
style.innerHTML = drawioCss
document.head.appendChild(style);
} ProblemThis fix repairs the Layout, but does not respect any themes selected e. g. it's always in light mode. |
An official fix for this issue would make this person very very happy! |
Also looking for an official fix in lieu of downgrading. Is an official fix being actively worked on? |
Not the ideal solution, but I've built the project with the fix proposed by @SteinGaming. For anyone who does not want to build the project themselves, a transpiled "main.js"-file can be downloaded from https://drive.google.com/file/d/13Ow5pKLMWzNOUMG3zNZA1szMBE9lKvT-/view?usp=drive_link |
@plc-dev I appreciate you making this fix however please upload it into a gist or a branch/fork instead of google drive! I have opened a PR with what is essentially the fix offered in this thread (thanks ya'll!) |
Thank you a lot!! |
Extremely grateful !!! |
This problem is affecting me too. For obvious reasons, I am reluctant to download and sideload unofficial code. Would very much like an official release that can updated within Obsidian. Thanks! |
Much appreciated. However, AWS logo's on general are still shitty - has anyone encountered this issue? |
@zMynxx Curious as to why this file is so much bigger than the original |
There hasn't been a release of this plugin on Obsidian 2y now, but can confirm the PR introduced by @plc-dev works on my end. Is there a reason the plugin* author hasn't updated the plugin via Obsidian yet is still maintaining the repo? |
Should maybe a fork be made, and plugin maintained on a new repo? |
Hi @zapthedingbat,
The project appears to still get commits every once in a while, but I notice there hasn't been a release in over 2 years.
Within Obsidian v1.5.3 it appears this community plugin is now entirely broken in both sketch and full mode.
Are you open to releasing a new version? Or do you need help from me to try to automate the releasing process to be able to have these go out for the community?
The text was updated successfully, but these errors were encountered: