noatpad/obsidian-banners

[Bug] Cannot Insert Text to Canvas Cards with Banner 2.0.1 Beta Enabled

jr-xing opened this issue · 4 comments

It seems that when the banner v2 beta is enabled, I can no longer add text in the canvas cards. Specifically, I can type in a card, but once I click somewhere else or start a new line, the previously entered text will be completely gone. Banner v1 doesn't cause this problem though.

banner

System info:

	Obsidian version: v1.4.13
	Installer version: v1.4.13
	Operating system: Windows 10 Education 10.0.23545
	Login status: logged in
	Catalyst license: insider
	Insider build toggle: on
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 2
	Plugins enabled: 2
		1: Obsidian42 - BRAT v0.7.0
		2: Banners v2.0.1-beta

Can confirm

Oh interesting, I guess the canvas cards uses CM6 underneath, so it's trying to do the checks as if it were an editing view pane. Gonna add some safeguards to keep banners out of canvas files in that case

This issue is still present in 2.0.5-beta.