editor: arreglar marks con propiedades con otras marks adentro

This commit is contained in:
void 2021-01-09 19:20:29 +00:00
parent 9cdcaf3cb3
commit 805780730d

View file

@ -421,7 +421,7 @@ function generateClickListener (editorEl, contentEl) {
if (selectedType) { if (selectedType) {
event.preventDefault() event.preventDefault()
selectedType.updateInput(selectedEl, editorEl) selectedType.updateInput(selectedEl, editorEl)
event.target.classList.add("selected") selectedEl.classList.add("selected")
return false return false
} }
} }