diff --git a/shared/editor/nodes/Notice.tsx b/shared/editor/nodes/Notice.tsx index 42040eb0f..64af39d39 100644 --- a/shared/editor/nodes/Notice.tsx +++ b/shared/editor/nodes/Notice.tsx @@ -41,7 +41,7 @@ export default class Notice extends Node { { tag: "div.notice-block", preserveWhitespace: "full", - contentElement: "div:last-child", + contentElement: "div.content", getAttrs: (dom: HTMLDivElement) => ({ style: dom.className.includes("tip") ? "tip"