godotengine / godotengine/godot-docs

Change the custom dock tutorial to recommend EditorDock as scene root

Open
#11,899 0 comments 1 reaction 0 assignees View on GitHub
area:manual enhancement topic:editor topic:plugin
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:**

4.7

**Issue description:**

> For an editor dock, the root node must be a [Control](https://docs.godotengine.org/en/latest/classes/class_control.html#class-control) or one of its child classes.

This is a bit outdated. It's better to use EditorDock as a scene root of a dock, which also allows to set up its properties in the inspector.
Note that https://github.com/godotengine/godot/pull/111518 should be merged first to allow adding EditorDock easily.

**URL to the documentation page:**

https://docs.godotengine.org/en/latest/tutorials/plugins/editor/making_plugins.html#a-custom-dock

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.