From a578d3449b22cde8336476b65482ad7a1616164d Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 9 Feb 2022 19:43:15 -0800 Subject: [PATCH] fix: Copy/paste of notices, closes #3082 --- shared/editor/nodes/Notice.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"