fix: selectionchange should triggered by the user event rather than api event #4029
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
|