CSR
This commit is contained in:
@@ -378,8 +378,8 @@ export function EditorMenu({ editor }: EditorMenuProps) {
|
||||
<ToggleGroupItem
|
||||
value="codeBlock"
|
||||
aria-label="Toggle code block"
|
||||
pressed={editor.isActive("codeBlock")}
|
||||
onPressedChanged={() =>
|
||||
aria-pressed={editor.isActive("codeBlock")}
|
||||
onClick={() =>
|
||||
editor
|
||||
.chain()
|
||||
.focus()
|
||||
|
||||
Reference in New Issue
Block a user