mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-10 10:48:50 +01:00
This commit is contained in:
parent
481b55c6b7
commit
2a2645d450
1 changed files with 3 additions and 0 deletions
|
|
@ -3045,6 +3045,9 @@ export class WYSIWYG {
|
|||
const blockElement = hasClosestBlock(rangeElement);
|
||||
if (blockElement) {
|
||||
newRange = focusBlock(blockElement, undefined, event.clientX < rect.left + parseInt(this.element.style.paddingLeft)) || newRange;
|
||||
if (protyle.options.render.breadcrumb) {
|
||||
protyle.breadcrumb.render(protyle, false, blockElement);
|
||||
}
|
||||
}
|
||||
}
|
||||
// https://github.com/siyuan-note/siyuan/issues/10357
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue