mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-01 01:19:03 +08:00
fix lint
This commit is contained in:
parent
55d767d94c
commit
fcfae05a4f
@ -17,7 +17,6 @@ function detectColors(doc) {
|
||||
let matches
|
||||
|
||||
// eslint-disable-next-line
|
||||
let regex = hexColors
|
||||
while (matches = hexColors.exec(node.text)) {
|
||||
results.push({
|
||||
color: matches[0],
|
||||
@ -26,6 +25,7 @@ function detectColors(doc) {
|
||||
})
|
||||
}
|
||||
|
||||
// eslint-disable-next-line
|
||||
while (matches = rgbaColors.exec(node.text)) {
|
||||
results.push({
|
||||
color: matches[0],
|
||||
|
Loading…
Reference in New Issue
Block a user