Skip to content

Commit

Permalink
fix: decorate richtext after decorating blocks on reload
Browse files Browse the repository at this point in the history
  • Loading branch information
buuhuu committed Feb 29, 2024
1 parent 44c2e34 commit 99b014b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/editor-support.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ async function applyChanges(event) {
block.insertAdjacentElement('afterend', newBlock);
decorateButtons(newBlock);
decorateIcons(newBlock);
decorateRichtext(newBlock);
decorateBlock(newBlock);
decorateRichtext(newBlock);
await loadBlock(newBlock);
block.remove();
newBlock.style.display = null;
Expand Down

0 comments on commit 99b014b

Please sign in to comment.