diff --git a/src/editor/utils/clipboard.ts b/src/editor/utils/clipboard.ts index 1f3f034..1d3f1f8 100644 --- a/src/editor/utils/clipboard.ts +++ b/src/editor/utils/clipboard.ts @@ -165,6 +165,11 @@ export function getElementListByHTML(htmlText: string): IElement[] { url: aElement.href }) } + } else if (node.nodeName === 'HR') { + elementList.push({ + value: '\n', + type: ElementType.SEPARATOR, + }) } else if (node.nodeName === 'INPUT' && (node).type === ControlComponent.CHECKBOX) { elementList.push({ type: ElementType.CHECKBOX,