mirror of https://gitee.com/answerdev/answer.git
Merge branch 'ui' of git.backyard.segmentfault.com:opensource/answer into ui
This commit is contained in:
commit
51cdcc25da
|
@ -105,7 +105,7 @@ const Image: FC<IEditorContext> = ({ editor }) => {
|
|||
editor.replaceRange(text.join('\n'), startPos, endPos);
|
||||
};
|
||||
|
||||
const paste = async (event) => {
|
||||
const paste = async (_, event) => {
|
||||
const clipboard = event.clipboardData;
|
||||
|
||||
const bool = verifyImageSize(clipboard.files);
|
||||
|
|
Loading…
Reference in New Issue