Skip to content

Background turns off completely when clicking on </> button to edit a code block in live preview mode. #85

@jacq-johns

Description

@jacq-johns
  • The Plugin is up to date
  • Obsidian is up to date

Describe the bug
Background turns off completely when clicking on </> button to edit a code block in live preview mode. Line numbers also disappear. The syntax highlighting remains, but become unreadable against the regular code block background. Background and line numbers return once clicked outside the block. Because of this I am not able to write code at all with Shiki enabled.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any codeblock in Live Preview
  2. Click on </>
  3. See error

Expected behavior
Shiki background should stay on when actively editing a codeblock.

Screenshots
Attached

Image Image

Occurs on

  • Android

Plugin version
0.7.7

Additional context
Using a Lenovo Tab 10 3rd gen Android 13

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions