2026-04-18-00-23-14 - 补充自动帧插入时的占位符边框清除

This commit is contained in:
2026-04-18 00:34:46 +08:00
parent 8978b7a2de
commit 1278f7282f

View File

@@ -627,6 +627,8 @@ export default function ReportEditor() {
<img src="${newFrame.dataUrl}" style="max-width: 100%; height: auto; display: block; margin: 0 auto;" draggable="false">
`;
emptyPlaceholder.classList.add('has-image');
emptyPlaceholder.style.border = 'none';
emptyPlaceholder.style.background = 'transparent';
contentRef.current = editorRef.current.innerHTML;
saveDraftToStorage();
}