There should be mentioning of the "filter" parameter. After all if you add this to a module without the filter parameter you have very little or no use of the editor type. As far as i know.
the example is too simple, for instance to use de hide parameter. For editor parameter is a little confuse the sample options.