5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 10:41:42 +00:00

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
}
}