I do this for the markdown editor using the below CSS in the userchrome file

.CodeMirror-sizer {
  margin-right: auto !important;
  margin-left: auto !important;
  max-width: 800px !important;
}

I'm not sure about the WYSIWYG editor, but it will likely be similar.