Cut a shim just thick enough to slip under a straightedge spanning the drywall corner. Use this shim to elevate the outside edge of your trim molding before cutting it. Trim back the drywall with ...
In fact, a 1/2-in. space between the opening frame and the drywall will often make applying wood trim easier. But outside corners that get metal corner bead (Photo 10) are a different story.