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) {
event.preventDefault()
selectedType.updateInput(selectedEl, editorEl)
event.target.classList.add("selected")
selectedEl.classList.add("selected")
return false
}
}