-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Obsidian freezes and must be killed in certain conditions (easy to reproduce) #574
Comments
Also, constant freezing when "Toggle icon in links" is switched on. Along with #566, iconize has become completely unusable |
No worries, In my quest for minimalism I've decided to trim back on plugin use. Thanks |
This is a particularly annoying bug for me. I'm implementing this workaround, so the app at least doesn't freeze forever in this callback: --- a/.obsidian/plugins/obsidian-icon-folder/main.js
+++ b/.obsidian/plugins/obsidian-icon-folder/main.js
@@ -5495,6 +5495,7 @@ const createTreeWalker = (plugin, root) => {
const checkForTextNodes = (treeWalker, match, cb) => {
let currentNode = treeWalker.currentNode;
while (currentNode) {
+ if (currentNode.textContent == "™") break; // #574
if (currentNode.nodeType === Node.TEXT_NODE) {
const text = currentNode;
const textNodes = [...Array.from(text.parentElement.childNodes)].filter((n) => n instanceof Text); It seems like |
This is still present and works with multiple unicode special symbols such as ™ and ©. I suspect either Iconize or Obsidian itself is doing some sort of conversion of the text automatically to map |
To Reproduce
Steps to reproduce the behavior:
™
CTRL+E
to switch to reading viewRelated issues
#524
The text was updated successfully, but these errors were encountered: