You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not seeing this error on my side. So, can you give me some information to debug this?
Is your layout is not able to create a view (due to some max leaf limit) when you are encountering this error?
Are you able to open any other leaf?
Are there any other error messages along with the error you had mentioned?
That particular line is called only after making sure we have created the leaf. So, I am wondering what is preventing the leaf from being created before we try to reveal it.
Describe the bug
The console reported an error when opening the table editor.
The problem with 22637 lines of code.
this.app.workspace.revealLeaf(this.app.workspace.getLeavesOfType(MARKDOWN_TABLE_EDITOR_VIEW)[0]);
this.app.workspace.getLeavesOfType(MARKDOWN_TABLE_EDITOR_VIEW)
The value is undefined/null. So you need to make a null judgment on the variable.To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: