You will not be able to hide the editor panel on the right if you are in edit mode, but you can hide either normally out of the editor (and the left Sidebar can be hidden before you go into the Editor). You will find key commands in the View menu.