Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
daledah committed Dec 2, 2024
1 parent 85bd242 commit 5252494
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/useHtmlPaste/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Parser from '@libs/Parser';
import type UseHtmlPaste from './types';

const insertByCommand = (text: string) => {
// eslint-disable-next-line deprecation/deprecation
document.execCommand('insertText', false, text);
};

Expand Down

0 comments on commit 5252494

Please sign in to comment.