We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
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
切换主题的时候通过theme.js增加的元素不会被清除 设定暗主题是roundark的时候,亮主题为原始主题,不断切换主题时,用theme.js增加的元素不会被清除,会反复叠加,导致其他主题错误
The text was updated successfully, but these errors were encountered:
界面不刷新的话添加的 DOM 元素以及其他状态(比如变量)是不会清除的,如果刷新界面的话似乎对用户不太友好。你认为应该如何处理呢?
Sorry, something went wrong.
检查当前主题是否带有theme.js 提示当前主题在切换时会需要刷新界面? 用户有预期的话应该会好一些.
@leolee9086 目前看来似乎只有这个方案比较妥当 👍
🎨 切换主题的时候通过 theme.js 增加的元素不会被清除 siyuan-note/siyuan#3927
460ab18
88250
Vanessa219
No branches or pull requests
切换主题的时候通过theme.js增加的元素不会被清除

设定暗主题是roundark的时候,亮主题为原始主题,不断切换主题时,用theme.js增加的元素不会被清除,会反复叠加,导致其他主题错误
The text was updated successfully, but these errors were encountered: