[WIKI-436] fix: check for code in alignment #7649
This commit is contained in:
parent
0af75897f5
commit
f95a07d8c8
1 changed files with 1 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ export const TextAlignmentSelector: React.FC<Props> = (props) => {
|
|||
isActive: () => editorState.right,
|
||||
},
|
||||
];
|
||||
if (editorState.code) return null;
|
||||
|
||||
return (
|
||||
<div className="flex gap-0.5 px-2">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue