Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

feat(editor): a project plugin that needs trust says so with a notice

yhh1c7cddd59a74
diff --git a/desktop b/desktop
index ab4adfe03..a96234205 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit ab4adfe039abd6ef6513bbec435a1ab814ff9e08
+Subproject commit a96234205fa9d188a4fe2be85bbeb573cdd2dcbb
diff --git a/docs/astro/src/content/docs/extending/editor-plugins.mdx b/docs/astro/src/content/docs/extending/editor-plugins.mdx
index bbbdac904..a7f1e63d0 100644
--- a/docs/astro/src/content/docs/extending/editor-plugins.mdx
+++ b/docs/astro/src/content/docs/extending/editor-plugins.mdx
@@ -496,7 +496,7 @@ provider that does not exist. A project plugin that imports the module registeri
```ts title=".esengine/plugins/my-game.ground/src/editor.ts"
import { definePlugin } from '@estella/editor-api';
-import '../../../../../src/planet/terrain.ts'; // registerTerrainProvider(...), as the game does
+import '../../../../src/planet/terrain.ts'; // registerTerrainProvider(...), as the game does
export default definePlugin({ activate: () => {} });
```
diff --git a/docs/astro/src/content/docs/zh-cn/extending/editor-plugins.mdx b/docs/astro/src/content/docs/zh-cn/extending/editor-plugins.mdx
index 118951c77..afb1c2d53 100644
--- a/docs/astro/src/content/docs/zh-cn/extending/editor-plugins.mdx
+++ b/docs/astro/src/content/docs/zh-cn/extending/editor-plugins.mdx
@@ -434,7 +434,7 @@ ctx.scene.transact('Rename Markers', () => {
```ts title=".esengine/plugins/my-game.ground/src/editor.ts"
import { definePlugin } from '@estella/editor-api';
-import '../../../../../src/planet/terrain.ts'; // registerTerrainProvider(...),和游戏里一样
+import '../../../../src/planet/terrain.ts'; // registerTerrainProvider(...),和游戏里一样
export default definePlugin({ activate: () => {} });
```