mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: math equation bug
This commit is contained in:
parent
60164194a2
commit
744821cfeb
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ function MathEquationBlockComponent(props: any) {
|
||||||
</MathEqTopMenu>
|
</MathEqTopMenu>
|
||||||
)}
|
)}
|
||||||
<BlockMath>{equation}</BlockMath>
|
<BlockMath>{equation}</BlockMath>
|
||||||
{isEditing && (
|
{isEditing && isEditable && (
|
||||||
<>
|
<>
|
||||||
<EditBar>
|
<EditBar>
|
||||||
<input value={equation} onChange={handleEquationChange} placeholder="Insert a Math Equation (LaTeX) " type="text" />
|
<input value={equation} onChange={handleEquationChange} placeholder="Insert a Math Equation (LaTeX) " type="text" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue