Setting pat-stuff in xml

It is possible to set the (pat) class in xml, with syntax like

<klass>pat-tinymce</klass>

Is there a way to set 'data-pat stuff', too ?

like

data-pat-tinymce='{"inline": true}'

It is, see https://gist.github.com/datakurre/8b27346fcd4c4481a9db3b74e5b47d1b (big thanks to @datakurre) for a rich text field with tinymce in a fragment tile. Version pinnings are important!

Great, … got it working now.

But if it is possible to 'pass data pat', I am still interesting, since I want to add all the mockup patterns to fragments