mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
fix: switch input to textarea
This commit is contained in:
parent
1f85bfe944
commit
e0a0273309
@ -38,7 +38,7 @@ function PlotBlock() {
|
|||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
// replace start
|
// replace start
|
||||||
/*
|
/*
|
||||||
d3.csv("/plotdata/congress.csv", d3.autoType).then((out) => data = out)
|
d3.csv("/plotdata/congress.csv", d3.autoType).then((out) => data = out);
|
||||||
return Plot.plot({
|
return Plot.plot({
|
||||||
aspectRatio: 1,
|
aspectRatio: 1,
|
||||||
x: { label: "Age (years)" },
|
x: { label: "Age (years)" },
|
||||||
@ -92,8 +92,9 @@ function PlotBlock() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="plot-block">
|
<div className="plot-block">
|
||||||
|
ß
|
||||||
<div className="plot-window" ref={containerRef} />
|
<div className="plot-window" ref={containerRef} />
|
||||||
<input type="text" className="plot-config" onChange={(e) => setPlotDef(e.target.value)} />
|
<textarea className="plot-config" onChange={(e) => setPlotDef(e.target.value)} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user