mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
🚨
This commit is contained in:
parent
7fd796caf8
commit
7089ab5de6
3 changed files with 3 additions and 3 deletions
|
|
@ -716,7 +716,7 @@ export class Wnd {
|
||||||
// 关闭分屏页签后光标消失
|
// 关闭分屏页签后光标消失
|
||||||
const editors = getAllModels().editor;
|
const editors = getAllModels().editor;
|
||||||
if (editors.length === 0) {
|
if (editors.length === 0) {
|
||||||
clearOBG()
|
clearOBG();
|
||||||
} else {
|
} else {
|
||||||
editors.forEach(item => {
|
editors.forEach(item => {
|
||||||
if (!item.element.classList.contains("fn__none")) {
|
if (!item.element.classList.contains("fn__none")) {
|
||||||
|
|
|
||||||
|
|
@ -236,7 +236,7 @@ export class Outline extends Model {
|
||||||
documentSelf.ondragstart = () => false;
|
documentSelf.ondragstart = () => false;
|
||||||
let ghostElement: HTMLElement;
|
let ghostElement: HTMLElement;
|
||||||
let selectItem: HTMLElement;
|
let selectItem: HTMLElement;
|
||||||
let editor: IProtyle
|
let editor: IProtyle;
|
||||||
getAllModels().editor.find(editItem => {
|
getAllModels().editor.find(editItem => {
|
||||||
if (editItem.editor.protyle.block.rootID === this.blockId) {
|
if (editItem.editor.protyle.block.rootID === this.blockId) {
|
||||||
editor = editItem.editor.protyle;
|
editor = editItem.editor.protyle;
|
||||||
|
|
|
||||||
|
|
@ -233,4 +233,4 @@ export const clearOBG = () => {
|
||||||
item.blockId = "";
|
item.blockId = "";
|
||||||
item.render(undefined);
|
item.render(undefined);
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue