makemd icon indicating copy to clipboard operation
makemd copied to clipboard

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

Open eidolies opened this issue 11 months ago • 2 comments

With on Make.md 1.1.3 and Obisidian 1.8.9 (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.

eidolies avatar Jan 04 '25 19:01 eidolies

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

jp-cen avatar Jan 04 '25 21:01 jp-cen

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 !

eidolies avatar Jan 05 '25 04:01 eidolies