Cannot set text cursor with mouse-click

I was editing my daily note template. Then I found that I couldn’t set the text cursor into the correct position.

Steps to reproduce

You can see this: Loom | Free Screen & Video Recording Software | Loom

  1. Copy the MD content
---
created: <% tp.file.creation_date() %>
---
#DailyNotes


## 🤘 Did
---
- 


## 👍 Satisfied
---
- 

## 🌚 Could Be Better
---
- 

## 🌟 Thoughts
---
- 

  1. Paste into Obsidian (the content)
  2. Click the Header Thoughts. Nothing happened.
  3. Click the other Headers. The text cursor can be set correctly.

Expected result

The text cursor can be set correctly anywhere.

Actual result

The text cursor can not be set in somewhere.

Environment

  • Operating system: mac os 12.6
  • Obsidian: Version 1.0.3 (Installer 1.0.0)

Additional information

And I’ve found that if I add some empty lines at the end of the page, I can set the cursor with a mouse click at the previous position. But now I cannot set the cursor to the new lines I just added.

works for me. post a a screen recording of this happening in the sandbox vault.

Thanks for such a prompt response.

I’ve found the immediate cause of this problem:
image

I set the margin-top & margin-bottom on the header(the original is 0px !important). If I remove the custom margin rules, it works. Although I don’t know why.

1 Like

Hi,
I just tried using padding instead of margin and it seems to do the trick. Will need to do more testing though, to see if it brings other problems.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.