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

Editor shows/hides Table markdown reference depending on caret/clicks #404

Open
eidolies opened this issue Jan 4, 2025 · 2 comments
Open

Comments

@eidolies
Copy link

eidolies commented Jan 4, 2025

With Make.md 1.0.2 on Obsidian 1.5.3 (linux)

Strange behaviour when the editor doesn't display the table but the markdown:

Step to reproduce

  1. Create an empty document
  2. Type or copy/paste the following
![![#*Table1]]
  1. Press Enter.
  2. The content of line 1 is hidden (not deleted). The caret is at line 2.
  3. Press the up arrow, the line appears again. The line appears again.
  4. Press End key. The caret appears at the far right of line 1, and the content of the line disappeared. The line isn't full of space, since the character counter still shows 15 characters.
  5. Press End again, and the caret is brought back after the first !, and so on as long as you repeatedly press End. If pressing Home instead of End, it has the same effect except that if you press Home a second time, the content disappears again.

Peek 2025-01-04 19-54

At the beginning of the gif, it shows the Home/End play.
Then when the mouse cursor appears, left-clicking on the line switches the visibility of the line contents in the same manner.

@jp-cen
Copy link
Contributor

jp-cen commented Jan 4, 2025

Thanks for reporting this, the embedding of views (and anything related to working with the markdown editor) is being moved to the basics plug-in at https://github.com/Make-md/Obsidian-Basics I'm going to leave this open and will take a look once work on this part of the basics plug-in is being done

@eidolies
Copy link
Author

eidolies commented Jan 5, 2025

Thanks, I found a way to trigger that, if it helps:

  1. Create a new note
  2. Create a table
  3. Add a row containing text (e.g. "Lorem ipsum")
  4. Change the Name column type (Text) to Date
  5. "Lorem ipsum" stays (and clicking once does bring up the calendar popup) but instead of doing that, double click on the text.
  6. The table disappears and this bug happens.

I spotted a few other things that might be related so I refrain from posting them and will test them again once the move has completed.

Thanks for working on Make.md !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants