How to first edit in local WordPress editor on page and the add code?

How to first edit in local WordPress editor on page and the add code?