mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-29 00:06:09 +08:00
chore(editor): reorg packages (#10702)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
export const cleanSelection = () => {
|
||||
const selection = window.getSelection();
|
||||
if (selection) {
|
||||
selection.removeAllRanges();
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user