How to implment a react view in main editor area?

I follow this tutorial :

I can create a view in right side bar:

but how to implment a react view in main editor area like this?

You just need to “open in the middle”:

Hi, thanks your reply. I follow your code, but still not work:

please check it.

Hi, thanks your reply. I follow your code, but still not work. please check it:
https://codesandbox.io/p/sandbox/gxfk4w

Can you explain in detail what “not work” means?

I noticed your code uses this.activateView(VIEW_TYPE_EXAMPLE, "left");
Have you tried this.activateView(VIEW_TYPE_EXAMPLE, "tab");?

I tried, but the view still in “right”.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.