fix: math equation bug

This commit is contained in:
swve 2023-05-08 10:36:18 +00:00
parent 60164194a2
commit 744821cfeb

View file

@ -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" />