🚸(frontend) block click on unsafe image

We want to prevent the user to open unsafe images
in the browser. We blocked the click on the images.
To download them, the user will have to use the
download button.
This commit is contained in:
Anthony LC
2025-02-28 11:23:06 +01:00
committed by Anthony LC
parent 315c2c2c43
commit ebd49f05a8

View File

@@ -6,6 +6,10 @@ export const cssEditor = (readonly: boolean) => css`
& .ProseMirror {
height: 100%;
img.bn-visual-media[src*='-unsafe'] {
pointer-events: none;
}
.bn-side-menu[data-block-type='quote'] {
height: 46px;
}