🚸(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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user