Allow PanelElements to be instantiated with markup

This is needed for the styleguide.
Is there a reason this is `or=` instead of `?=`?