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

Charts Not Appearing in Preview Mode M1 Mac #21

Closed
qiwenkevin opened this issue Oct 4, 2021 · 2 comments
Closed

Charts Not Appearing in Preview Mode M1 Mac #21

qiwenkevin opened this issue Oct 4, 2021 · 2 comments

Comments

@qiwenkevin
Copy link

Charts just disappear after a while.

They render fine initially, when I had just made them. However, by the next day, when I go back to review those charts, they disappear when switching to preview mode, not even any text.

I am running obsidian v0.12.15, and Obsidian Charts 2.5.2, which should both be the newest versions.

Screen Shot 2021-10-04 at 3 11 29 PM

Screen Shot 2021-10-04 at 3 11 23 PM

I've found a way to temporarily make them appear again but this solution is temporary as well and disappears again after a while.

The temporary solution has been to copy the text, delete it, switch to preview mode, switch back to editor mode, paste the text back, and then it will appear again.

Screen Shot 2021-10-04 at 3 19 24 PM

If you directly copy and paste the text without going to preview mode after the text was deleted, still no charts appear.

@phibr0 phibr0 added this to to do in Obsidian Plugins Oct 10, 2021
@fmccull
Copy link

fmccull commented Oct 30, 2021

I've run into the same problem. A quicker way to get the chart to redraw is to add a space anywhere within the code block and switch to preview mode. The chart will not draw if I delete the space before switching to preview mode. So any changes to the code block, big or small, is detected and forces a redraw

The chart will disappear after opening a new note.

phibr0 added a commit that referenced this issue Nov 2, 2021
CodeMirror Options WSYSWIG breaks because the MarkdownPostprocessorContext is not passed
@fmccull
Copy link

fmccull commented Nov 3, 2021

The notes/charts that were problems before are now working as expected after update.

@phibr0 phibr0 closed this as completed Nov 4, 2021
Obsidian Plugins automation moved this from to do to done Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: done
Development

No branches or pull requests

3 participants