fix: Copy/paste of notices, closes #3082

This commit is contained in:
Tom Moor
2022-02-09 19:43:15 -08:00
parent 8490cab9b1
commit a578d3449b

View File

@@ -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"