mirror of
https://github.com/fantasticit/think.git
synced 2026-10-30 22:56:06 +08:00
client: fix selection in callout
This commit is contained in:
@@ -72,7 +72,7 @@ export const SelectionExtension = Extension.create({
|
||||
if (isInCallout(view.state)) {
|
||||
// @ts-ignore
|
||||
const { path = [] } = $head;
|
||||
startPos = path[2];
|
||||
startPos = path[2] + 1;
|
||||
endPos = startPos + path[3].content.size;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user