mirror of https://github.com/fantasticit/think.git
client: fix selection in callout
This commit is contained in:
parent
9d72480316
commit
b08e1be52f
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue