Hello Godot's community ! Since Godot 4, the tilemap editor is on bottom pane that can be confused with Tileset editor and harder to use for non-dev users. So I tried to write an Editor Plugin in a Dock where there are only the images of base tiles chosen in a tileset and when I click on them, I want to toggle the bottom panel to the TileMap editor, select the paint tool and the right tile.
The only hints I found in the doc is about short cuts, the paint tool is defined by Editor setting : tile_map_editor/paint_tile
but can't be set with get_editor_interface().get_editor_settings().set_setting("tile_map_editor/paint_tile", true)
and I found nothing about tile selection.
The implementation of the tilemap editor in Godot source code appears to be a plugin, but in C++. so I don't know if i can interact with it in godot script.