mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-28 11:16:09 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
025a8ea5a7
2 changed files with 11 additions and 8 deletions
|
|
@ -8,6 +8,9 @@ import {popTextCell} from "./cell";
|
|||
export const genAVValueHTML = (value: IAVCellValue) => {
|
||||
let html = "";
|
||||
switch (value.type) {
|
||||
case "block":
|
||||
html = `<div class="fn__flex-1">${value.block.content}</div>`;
|
||||
break;
|
||||
case "text":
|
||||
html = `<textarea rows="${value.text.content.split("\n").length}" class="b3-text-field b3-text-field--text fn__flex-1">${value.text.content}</textarea>`;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue