How to use 'pat texteditor'

How is the mockup class pat-texteditor supposed to work ?
It does not look like this is the right syntax

<pre class="pat-texteditor" id="editme" data-pat-texteditor="mode:text;theme:dawn;">
   Something
  </pre>

You have to load the Javascript library yourself, see: