obsidian-outliner icon indicating copy to clipboard operation
obsidian-outliner copied to clipboard

[BUG] Outliner draw vertical lines override Obsidian plaintext indentation guides

Open efemkay opened this issue 2 years ago • 0 comments

Describe the bug Outliner plugin's "Draw vertical lines" seems to override Obsidian "Show indentation guides" for indented plaintext (non list)

To Reproduce Steps to reproduce the behavior:

  1. Use Help/Sandbox vault, enable Settings > Editor > "Show indentation guides" and disable Outliner "Draw vertical lines"
  2. Create a para with few lines indented (but dont use list or numbered list). This will have guide lines like vscode or notepad++
  3. Enable Outliner "Draw vertical lines". List will have indentation guides replaced with Outliner's but indented plaintext simply don't have lines
  4. See error (screenshot)

Expected behavior To not conflict with the plaintext indentation guides (dont override the ::before element)

Screenshots

  • In the screenshot below, the top part is with Obsidian core feature "Show Indentation guides" enabled and Outliner plugin "Draw vertical lines" disabled.
  • the bottom part is with Outliner plugin "Draw vertical lines" enabled.
  • the Outliner plugin seems to override the ::before pseudo element used by Obsidian for Indentation guides. unknown

Desktop (please complete the following information):

  • OS: Windows 10
  • Obsidian Version: 0.14.5

Additional context Its not critical but i feel better to log it. Currently, the workaround is not to use Obsidian core feature Show Indentation guides but rather mgmeyers indentation guides plugin for plaintext indentation guides.

Alternatively, the dev can implement plaintext vertical lines as well (hopeful).

efemkay avatar Apr 10 '22 08:04 efemkay