mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08:00
fix: resize handle clipping (#1990)
This commit is contained in:
@@ -320,8 +320,6 @@ export const Drawio = Node.create<DrawioOptions>({
|
||||
|
||||
// Show skeleton background while image loads from server
|
||||
dom.style.pointerEvents = "none";
|
||||
dom.style.overflow = "hidden";
|
||||
dom.style.borderRadius = "8px";
|
||||
dom.style.background =
|
||||
"light-dark(var(--mantine-color-gray-2), var(--mantine-color-dark-6))";
|
||||
|
||||
|
||||
@@ -320,8 +320,6 @@ export const Excalidraw = Node.create<ExcalidrawOptions>({
|
||||
|
||||
// Show skeleton background while image loads from server
|
||||
dom.style.pointerEvents = "none";
|
||||
dom.style.overflow = "hidden";
|
||||
dom.style.borderRadius = "8px";
|
||||
dom.style.background =
|
||||
"light-dark(var(--mantine-color-gray-2), var(--mantine-color-dark-6))";
|
||||
|
||||
|
||||
@@ -362,8 +362,6 @@ export const TiptapImage = Image.extend<ImageOptions>({
|
||||
|
||||
// Show skeleton background while image loads from server
|
||||
dom.style.pointerEvents = "none";
|
||||
dom.style.overflow = "hidden";
|
||||
dom.style.borderRadius = "8px";
|
||||
dom.style.background =
|
||||
"light-dark(var(--mantine-color-gray-2), var(--mantine-color-dark-6))";
|
||||
|
||||
|
||||
@@ -328,8 +328,6 @@ export const TiptapVideo = Node.create<VideoOptions>({
|
||||
|
||||
// Show skeleton background while video loads from server
|
||||
dom.style.pointerEvents = "none";
|
||||
dom.style.overflow = "hidden";
|
||||
dom.style.borderRadius = "8px";
|
||||
dom.style.background =
|
||||
"light-dark(var(--mantine-color-gray-2), var(--mantine-color-dark-6))";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user