editor-api icon indicating copy to clipboard operation
editor-api copied to clipboard

Migrate to playcanvas/editor Repo

Open Maksims opened this issue 5 months ago • 2 comments

Editor and Editor API code is interlinked and uses each other. As Editor front-end is now open sourced, it makes sense to migrate API into it, making it easier to make PR's as they sometimes need to change code in both places.

Maksims avatar Aug 07 '25 09:08 Maksims

Looking more into code and since Editor's front-end was open sourced, I've realized that this split is pretty awful:

  1. Coding standards are totally different between two repos.
  2. The logic in editor-api repo is significantly different from editor's repo.
  3. A lot of code duplication between the repos.
  4. A lot of features you need edit in editor repo ends up in editor-api repo, so it requires joint PR's which is not easy logistically.
  5. Experimenting with Editor Extensions, I realized that there is pretty much always a need to touch both codebases, leading to mixed API access, between editor.call and editor-api.

To help community to contribute more into Editor, it would be great to have editor-api "go" and end up in "editor" repo, in similar style as editor's current codebase. Especially considering that editor-api is technically not really exposed as Editor Extensions, making it's use very limited by niche devs who go Chrome Extensions route.

Maksims avatar Nov 13 '25 07:11 Maksims

Yep, we'll fold it back into the Editor codebase when we get an opportunity.

willeastcott avatar Nov 13 '25 11:11 willeastcott

Merged with Editor repo

kpal81xd avatar Dec 18 '25 12:12 kpal81xd