Skip to content

Commit

Permalink
#388 'Calculated values' fields are editable
Browse files Browse the repository at this point in the history
- remove contenteditable attr
  • Loading branch information
AndreiMazol committed Mar 15, 2021
1 parent 49c24d9 commit 5fcd7ba
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 5fcd7ba

Please sign in to comment.