Skip to content

Commit

Permalink
#388 'Calculated values' fields are editable (#393)
Browse files Browse the repository at this point in the history
- remove contenteditable attr
  • Loading branch information
AndreiMazol authored Mar 15, 2021
1 parent 49c24d9 commit 91f230b
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ function renderGroup(group, key, renderBrakets) {

function formulaInputMarkdown(descriptor) {
return (
<div
className={styles.chem_input}
spellCheck="false"
contentEditable
suppressContentEditableWarning={true}>
<div className={styles.chem_input}>
{descriptor?.groups.length > 0 &&
descriptor.groups.map((group, index) => {
return (
Expand Down

0 comments on commit 91f230b

Please sign in to comment.