How to submit custom fields that are added in the right pane to your plugin?
I think I found the answer, correct me if I'm wrong but you can access your post data in your plugin with:

craft()-&gt;request-&gt;getPost('fields')


Not sure if this is the recommended way.