fix: Remove unused 'm' key binding from ContentContainer
- The 'm' key was repurposed for toggle view mode, causing conflict - Removed Binding from ContentContainer to free up the key for other uses - action_toggle_mode still exists for extensibility but has no keybinding - Tests still passing
This commit is contained in:
@@ -160,9 +160,7 @@ class ContentContainer(ScrollableContainer):
|
|||||||
# Reactive to track view mode and update UI
|
# Reactive to track view mode and update UI
|
||||||
current_mode: reactive[Literal["markdown", "html"]] = reactive("markdown")
|
current_mode: reactive[Literal["markdown", "html"]] = reactive("markdown")
|
||||||
|
|
||||||
BINDINGS = [
|
BINDINGS = []
|
||||||
Binding("m", "toggle_mode", "Toggle View Mode"),
|
|
||||||
]
|
|
||||||
|
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
super().__init__(**kwargs)
|
super().__init__(**kwargs)
|
||||||
|
|||||||
Reference in New Issue
Block a user