💄
This commit is contained in:
parent
292c195e9b
commit
32ab7b52af
2 changed files with 2 additions and 1 deletions
|
@ -264,6 +264,7 @@ progressLoading: 400
|
|||
}
|
||||
|
||||
&__text {
|
||||
font-size: 12px;
|
||||
max-width: 96px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
|
|
@ -447,7 +447,7 @@ export const removeBlock = (protyle: IProtyle, blockElement: Element, range: Ran
|
|||
if (editableElement && editableElement.textContent !== "") {
|
||||
// 非空块
|
||||
range.setEndAfter(editableElement.lastChild);
|
||||
// 数学公式会车后再删除 https://github.com/siyuan-note/siyuan/issues/3850
|
||||
// 数学公式回车后再删除 https://github.com/siyuan-note/siyuan/issues/3850
|
||||
if ((previousLastEditElement?.lastElementChild?.getAttribute("data-type") || "").indexOf("inline-math") > -1) {
|
||||
const lastSibling = hasNextSibling(previousLastEditElement?.lastElementChild);
|
||||
if (lastSibling && lastSibling.textContent === "\n") {
|
||||
|
|
Loading…
Add table
Reference in a new issue