Skip to content

I found a bug in the "comment" option? #284

@SGFX7

Description

@SGFX7

Describe the bug
When I enable a comment, the formatting isn't removed. Trying to delete the % on the left breaks the formatting (this is expected, I'm using it as an example). However, when I try to delete the % on the right and continue writing text below (Enter), the formatting continues below as a comment (grayed out). See screenshots.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'toolbar'
  2. Click on 'comment'
  3. I'm trying to remove the %% thinking it's formatting (code view)
  4. See bug

Expected behavior
gray before clicking (to view the code), and %% after clicking (to see the code). Currently, the plugin displays visible %% before and after the click.

Screenshots
Image

Image Image Image

Desktop (please complete the following information):

  • OS: win10
  • Version toolbar 3.2.7
  • Obsidian 1.11.5

Additional context
There are no other plugins installed for the editor/signatures, there should be no conflicts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions