Skip to content

fix: selectionchange should triggered by the user event rather than api event #4029

fix: selectionchange should triggered by the user event rather than api event

fix: selectionchange should triggered by the user event rather than api event #4029

Triggered via pull request December 7, 2024 17:30
Status Failure
Total duration 1m 40s
Artifacts

ci.yml

on: pull_request
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 1 warning
lint:prettier
Process completed with exit code 1.
lint:eslint
The job was canceled because "lint_prettier" failed.
lint:eslint: packages/slate-react/src/components/editable.tsx#L862
Replace `⏎········'selectionchange',⏎········()=>` with `'selectionchange',·()·=>·`
lint:eslint: packages/slate-react/src/components/editable.tsx#L865
Replace `··if(mouseDown.current)` with `if·(mouseDown.current)·`
lint:eslint: packages/slate-react/src/components/editable.tsx#L868
Replace `··}⏎······` with `}`
lint:eslint
The operation was canceled.
test
The job was canceled because "lint_prettier" failed.
test
The operation was canceled.
test:integration
The job was canceled because "lint_prettier" failed.
test:integration
The operation was canceled.
lint:eslint: packages/slate-react/src/components/editable.tsx#L1230
React Hook useCallback has a missing dependency: 'attributes.onClick'. Either include it or remove the dependency array