How can I add the expand button to a monaco editor widget?

How can I add the expand button to a monaco editor widget?

Never mind. I learned how to do it reading the core function node code.