mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-04 20:00:17 +01:00
🚨
This commit is contained in:
parent
5e6efbce4f
commit
2ccc988fb9
3 changed files with 10 additions and 10 deletions
|
|
@ -141,7 +141,7 @@ export class Gutter {
|
|||
document.querySelector("#toolbarEdit use").setAttribute("xlink:href", "#iconPreview");
|
||||
enableProtyle(protyle);
|
||||
gutterFold();
|
||||
})
|
||||
});
|
||||
}
|
||||
} else {
|
||||
gutterFold();
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import {fetchPost} from "../../util/fetch";
|
||||
import {focusBlock, focusByRange, focusByWbr, focusSideBlock, getEditorRange} from "../util/selection";
|
||||
import {focusBlock, focusByWbr, focusSideBlock, getEditorRange} from "../util/selection";
|
||||
import {getTopAloneElement} from "./getBlock";
|
||||
import {Constants} from "../../constants";
|
||||
import {blockRender} from "../markdown/blockRender";
|
||||
|
|
@ -450,7 +450,7 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, focus: b
|
|||
let range;
|
||||
if (focus && getSelection().rangeCount > 0) {
|
||||
range = getSelection().getRangeAt(0);
|
||||
range.insertNode(document.createElement("wbr"))
|
||||
range.insertNode(document.createElement("wbr"));
|
||||
}
|
||||
/// #if !MOBILE
|
||||
if (updateElements.length === 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue