I'm not sure I fully understand what you are asking to do.
When creating an HTML editor instance, if you edit the preset, you can access the styling tab to add your own styles to the style list.
This styles that you add can be created to control the padding, margin hspace and vspace of content you add using html editor.