Aykut Saraç 3 éve
szülő
commit
d63aeb1a8b
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      src/containers/LiveEditor/CustomNode/styles.tsx

+ 3 - 1
src/containers/LiveEditor/CustomNode/styles.tsx

@@ -23,7 +23,9 @@ export const StyledText = styled.pre<{
   color: ${({ theme }) => theme.SILVER};
 `;
 
-export const StyledForeignObject = styled.foreignObject``;
+export const StyledForeignObject = styled.foreignObject`
+  pointer-events: none;
+`;
 
 export const StyledKey = styled.span<{
   objectKey?: boolean;