File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
app/src/protyle/render/av Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -693,12 +693,11 @@ export const renderCell = (cellValue: IAVCellValue, rowIndex = 0) => {
693
693
} else if ( "url" === cellValue . type ) {
694
694
text = renderCellURL ( cellValue ?. url ?. content || "" ) ;
695
695
} else if ( cellValue . type === "block" ) {
696
+ // 不可使用换行 https://github.com/siyuan-note/siyuan/issues/11365
696
697
if ( cellValue ?. isDetached ) {
697
- text = `<span class="av__celltext">${ cellValue . block . content || "" } </span>
698
- <span class="b3-chip b3-chip--info b3-chip--small" data-type="block-more">${ window . siyuan . languages . more } </span>` ;
698
+ text = `<span class="av__celltext">${ cellValue . block . content || "" } </span><span class="b3-chip b3-chip--info b3-chip--small" data-type="block-more">${ window . siyuan . languages . more } </span>` ;
699
699
} else {
700
- text = `<span data-type="block-ref" data-id="${ cellValue . block . id } " data-subtype="s" class="av__celltext av__celltext--ref">${ cellValue . block . content || window . siyuan . languages . untitled } </span>
701
- <span class="b3-chip b3-chip--info b3-chip--small" data-type="block-more">${ window . siyuan . languages . update } </span>` ;
700
+ text = `<span data-type="block-ref" data-id="${ cellValue . block . id } " data-subtype="s" class="av__celltext av__celltext--ref">${ cellValue . block . content || window . siyuan . languages . untitled } </span><span class="b3-chip b3-chip--info b3-chip--small" data-type="block-more">${ window . siyuan . languages . update } </span>` ;
702
701
}
703
702
} else if ( cellValue . type === "number" ) {
704
703
text = `<span class="av__celltext" data-content="${ cellValue ?. number . isNotEmpty ? cellValue ?. number . content : "" } ">${ cellValue ?. number . formattedContent || cellValue ?. number . content || "" } </span>` ;
You can’t perform that action at this time.
0 commit comments