mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-23 08:46:09 +01:00
This commit is contained in:
parent
92a1af3b7f
commit
020b8ab9e7
1 changed files with 3 additions and 3 deletions
|
|
@ -2,10 +2,9 @@ import {Divider} from "./Divider";
|
|||
import {Font, hasSameTextStyle, setFontStyle} from "./Font";
|
||||
import {ToolbarItem} from "./ToolbarItem";
|
||||
import {
|
||||
fixTableRange,
|
||||
fixTableRange, focusBlock,
|
||||
focusByRange,
|
||||
focusByWbr,
|
||||
focusSideBlock,
|
||||
getEditorRange,
|
||||
getSelectionPosition,
|
||||
setFirstNodeRange,
|
||||
|
|
@ -1044,7 +1043,8 @@ export class Toolbar {
|
|||
focusByRange(this.range);
|
||||
}
|
||||
} else {
|
||||
focusSideBlock(renderElement);
|
||||
focusBlock(renderElement);
|
||||
renderElement.classList.add("protyle-wysiwyg--select");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue