Quorafind / Outliner.MD

https://outliner.md
132 stars 2 forks source link

Missing note title inside an embedded link #9

Closed lifehaschanged closed 2 months ago

lifehaschanged commented 2 months ago

Missing note title inside an embedded link:

2024-05-08 14_45_02-2024-05-08 14_44_41-outliner-20240508143356 - Obsidian Sandbox - Obsidian v1 5 1

Here the visible title ("Heading")in an embedded note when the plugin is disabled:

2024-05-08 17_06_30-yess - Obsidian Sandbox - Obsidian v1 5 12
lifehaschanged commented 2 months ago

I changed the title and the content because I wasn't sure that in native obsidian this is normal.

Quorafind commented 2 months ago

Because the content in the embed file is editable. It would be confused that show a title that is not editable

lifehaschanged commented 2 months ago

Thanks, that makes sense. I wasn't aware of that. It would be greatly appreciated if the obsidian native behavior of the disappearing linked title could be overridden. Precisely, it would be ideal if the linked title remained visible at all times, even when the line containing the title is not clicked / focused: grafik That would be useful for me for a better oversight. Do you think it's possible?

Quorafind commented 2 months ago

Hello, now i find that is not easy to do it so that I decide to only support click to back and highlight the ![[asdasd]] content. Do you feel it good?

lifehaschanged commented 2 months ago

It's OK, thanks. However I think I will insert a normal link and then the same link as embedded link next to it. This way I can see what's inside the embedded link by viewing the normal link.

lifehaschanged commented 2 months ago

I've discovered another bug regarding embedded links. When you collapse a parent bullet, the child bullet does not always disappear. Here's a parent bullet with a link and an embedded link below as a child bullet, it looks like this when expanded:

2024-05-11 18_41_34-

If you then click in the line below where the embedded link is (child bullet) with your mouse and then collapse the parent afterwards, it looks like this:

2024-05-11 18_41_48-2024-05-11 18_41_11-outliner-20240511182048 - Obsidian Sandbox - Obsidian v1 5 1

You can see here above that only the embedded link is hidden, but the content of the embedded link is still visible. However, it should not be visible because the parent bullet is collapsed. But if you click outside of all this bullets first and then collapse the parent it looks like this, which is perfect and should always be the case when collapsing a parent:

grafik

Quorafind commented 2 months ago

It is weird. I didn't remember that I controled the behavior.

Quorafind commented 2 months ago

Fixed issue that fold cannot hide embedded content in 0.1.2