mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-26 02:06:10 +01:00
🐛 gutter
This commit is contained in:
parent
42ace3d0e9
commit
5d8e547942
1 changed files with 1 additions and 2 deletions
|
|
@ -2012,8 +2012,7 @@ export class Gutter {
|
|||
|
||||
public render(protyle: IProtyle, element: Element, wysiwyg: HTMLElement, target?: Element) {
|
||||
// https://github.com/siyuan-note/siyuan/issues/4659
|
||||
const titleElement = wysiwyg.parentElement.querySelector(".protyle-title__input");
|
||||
if (titleElement && titleElement.getAttribute("data-render") !== "true") {
|
||||
if (protyle.title && protyle.title.element.getAttribute("data-render") !== "true") {
|
||||
return;
|
||||
}
|
||||
// 防止划选时触碰图标导致 hl 无法移除
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue