I'm using the Ext.form.HtmlEditor.FormatBlock from http://blog.minimeta.de/2009/08/another-plugin-for-the-extjs-htmleditor/.

I'm wanting to add other options, such as Paragraphs with an additional class. That's why I've added another field to the SimpleStore called "mCls".

Now I want the insertFormatblock() function to add this class to the format block. But since I lack a lot of knowledge about the HTMLeditor and Midas commands, I can't seem to get any futher.

As I've searched up the Midas commands, it seems I cannot add classes or any other attributes to the 'formatblock' that will be executed. Does anyone know an possible solution or maybe a push in the right direction?

I thank you in advance.