Skip to content

Commit

Permalink
Fix example for content and delta in playground (#4020)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayaKrishnaNamburu authored Feb 23, 2024
1 parent 11d677d commit 77df7e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/website/content/docs/delta.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function update(delta) {
const contents = quill.getContents();
let html = \`<h3>contents</h3>\${formatDelta(contents)}\`
if (delta) {
html = \`\${html}<h3>change</h3>\${formatDelta(contents)}\`;
html = \`\${html}<h3>change</h3>\${formatDelta(delta)}\`;
}
playground.innerHTML = html;
}
Expand Down

0 comments on commit 77df7e5

Please sign in to comment.