Skip to content

Commit

Permalink
style: only code style
Browse files Browse the repository at this point in the history
  • Loading branch information
zzxming committed Nov 5, 2024
1 parent 9ff5ee7 commit 1af5c63
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions docs/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-undef */
const Quill = window.Quill;
const TableUp = window.TableUp.default;

Expand Down Expand Up @@ -133,10 +134,16 @@ const quill = [
quill2,
];
window.quill = quill;
// eslint-disable-next-line no-undef
const output = [output1, output2];
// eslint-disable-next-line no-undef
for (const [i, btn] of [btn1, btn2].entries()) {

const output = [
output1,
output2,
];

for (const [i, btn] of [
btn1,
btn2,
].entries()) {
btn.addEventListener('click', () => {
const content = quill[i].getContents();
console.log(content);
Expand Down

0 comments on commit 1af5c63

Please sign in to comment.