Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 20, 2024
1 parent 6b0f870 commit 81bab0f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/header.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import type TypeHeader from 'quill/formats/header'
import Quill from 'quill'
import { randomID } from './utils'
import type TypeHeader from 'quill/formats/header';
import Quill from 'quill';
import { randomID } from './utils';

const Header = Quill.import('formats/header') as typeof TypeHeader
const Header = Quill.import('formats/header') as typeof TypeHeader;

export class HeaderWithID extends Header {
static create(value: any) {
const node = super.create(value)
node.id = randomID()
return node
const node = super.create(value);
node.id = randomID();
return node;
}
}

0 comments on commit 81bab0f

Please sign in to comment.