When you download the editor from gog its a file called divinity_original_sin_2_editor_.zip and when you open it there should be 2 folders inside (DOS2_Editor and Editor) you can copy the DOS2_editor folder anywhere you want the divinity engine 2 editor to be, and you should place the Editor folder inside your divinity 2 data folder
there should also be a readme inside that reads
"/ In order to use The Divinity Engine 2 please copy "Editor" folder to "Divinity - Original Sin 2\Data" folder, for example "C:\GOG Games\Divinity - Original Sin 2\Data".
To launch The Divinity Engine 2 please use DivinityEngine2.exe.
NOTE!: Please remember to link the game Data folder - for example "C:\GOG Games\Divinity - Original Sin 2\Data" when launching the Editor. \"
Have you tried doing that? hope that helps.