mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-17 11:29:58 +08:00
Fix dataframe line_breaks
(#5930)
* fix * format * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
parent
b67115e8e6
commit
3618238960
6
.changeset/weak-pants-run.md
Normal file
6
.changeset/weak-pants-run.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"@gradio/dataframe": patch
|
||||
"gradio": patch
|
||||
---
|
||||
|
||||
fix:Fix dataframe `line_breaks`
|
@ -702,6 +702,7 @@
|
||||
<EditableCell
|
||||
{value}
|
||||
{latex_delimiters}
|
||||
{line_breaks}
|
||||
datatype={Array.isArray(datatype) ? datatype[j] : datatype}
|
||||
edit={false}
|
||||
el={null}
|
||||
@ -743,6 +744,7 @@
|
||||
bind:value={_headers[i].value}
|
||||
bind:el={els[id].input}
|
||||
{latex_delimiters}
|
||||
{line_breaks}
|
||||
edit={header_edit === i}
|
||||
on:keydown={end_header_edit}
|
||||
on:dblclick={() => edit_header(i)}
|
||||
@ -791,6 +793,7 @@
|
||||
bind:el={els[id].input}
|
||||
display_value={display_value?.[index]?.[j]}
|
||||
{latex_delimiters}
|
||||
{line_breaks}
|
||||
{editable}
|
||||
edit={dequal(editing, [index, j])}
|
||||
datatype={Array.isArray(datatype) ? datatype[j] : datatype}
|
||||
|
Loading…
Reference in New Issue
Block a user