Merge branch 'ui' of git.backyard.segmentfault.com:opensource/answer into ui

This commit is contained in:
shuai 2022-09-30 14:22:29 +08:00
commit 51cdcc25da
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ const Image: FC<IEditorContext> = ({ editor }) => {
editor.replaceRange(text.join('\n'), startPos, endPos); editor.replaceRange(text.join('\n'), startPos, endPos);
}; };
const paste = async (event) => { const paste = async (_, event) => {
const clipboard = event.clipboardData; const clipboard = event.clipboardData;
const bool = verifyImageSize(clipboard.files); const bool = verifyImageSize(clipboard.files);