Toggle text format does not work

Steps to reproduce

  1. open sandbox
  2. select one line of plain text
  3. use command ‘toggle bold’, the text should be embraced with bold marks
  4. select the same text, with or without the bold marks
  5. use command toggle bold, again

Did you follow the troubleshooting guide? [Y/N]

Yes

Please, follow the Troubleshooting Guide before answering Yes.

Expected result

The bold marks of the selected text should be removed (toggled off)

Actual result

The bold marks of the selected text remains

Environment

SYSTEM INFO:
Obsidian version: 1.13.1
Installer version: 1.12.4
Operating system: Windows 11 Pro 10.0.26200
Login status: logged in
Language: en
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0

RECOMMENDATIONS:
none


Additional information

Same problem can also be seen in toggle hightlight, italic, code, comments, etc.

thanks

will be fixed in 1.13.2.