Skip to content

Commit

Permalink
Merge pull request #300 from boostcampwm-2024/Hotfix/#299_붙여넣기시_순서_유지…
Browse files Browse the repository at this point in the history
…되도록_수정

Hotfix/#299 붙여넣기 할 때 순서 리스트 유지되도록 수정
  • Loading branch information
github-actions[bot] authored Dec 5, 2024
2 parents 28f4b84 + 46f1755 commit cc3abb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/features/editor/hooks/useCopyAndPaste.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export const useCopyAndPaste = ({
}
currentBlockIndex += 1;
});
editorCRDT.LinkedList.updateAllOrderedListIndices();
} else {
// 텍스트를 한 글자씩 순차적으로 삽입
text.split("").forEach((char, index) => {
Expand Down

0 comments on commit cc3abb6

Please sign in to comment.