Closed btopro closed 5 months ago
2 fold. Now we allow for contenteditable (the real problem) but we've also normalized the behavior of the Clear Formatting with Clean formatting buttons. Clear formatting is inline while Clean formatting is on View Source. The Clean formatting was running a stripMSWord
magic function which cleans up all kind of crapolla from word style systems but inline it was only used to remove bold / italic that sorta thing. Now clicking this button in an active paragraph will strip things out.
A work around for now is to load it in View Source and Clear Formatting.
contenteditable is applied correctly to the paragraph but not the span. This allows for selection of the
P
but not select and editing of theSPAN
just within it.we should be safe to unwrap a SPAN if its immediate parent is a P and there are no other children... gotta explore