text editor serialization empties non-editable spans