Guard against contentEditable with children props

Implemented invariant to guard against #1466