[WIKI-436] fix: check for code in alignment #7649

This commit is contained in:
Vipin Chaudhary 2025-08-27 00:39:26 +05:30 committed by GitHub
parent 0af75897f5
commit f95a07d8c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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">