Skip to content

Commit

Permalink
Merge branch 'release/1.0.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
pipisebastian committed Dec 5, 2024
2 parents 6c2581c + a750892 commit 0adae98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/src/features/editor/hooks/useBlockOption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ export const useBlockOptionSelect = ({
block.crdt = new BlockCRDT(editorCRDT.client);
}

if (block.type === "ol") {
editorCRDT.LinkedList.updateAllOrderedListIndices();
}

sendBlockUpdateOperation({
type: "blockUpdate",
node: block,
Expand Down

0 comments on commit 0adae98

Please sign in to comment.