From 434b813f7d32d1e9fd9a2829a0220a505913f25d Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 16 Jan 2026 02:16:48 +0100 Subject: [PATCH] Improve HTML shell in the web editor - Tweak loading page for better usability and match the Godot editor style guide (e.g. buttons use Title Case text). - Update theming to match the default theme as of Godot 4.6. - Use Inter font with OpenType features to match the Godot 4.6 default. - Use `:focus-visible` in CSS to hide focus outlines on mouse/touch input (matches Godot 4.6+ behavior). - Remove video driver selection, as only WebGL 2 is available. - Fix Open Graph image being 404 by using the same image as the website's homepage. - Tweak welcome dialog text and add a link to the editor download page. - Hide "(Try this for example)" link once a file is selected. - Fix Open Graph image being 404. - Link to the `stable` branch of the documentation instead of `latest`, since it lacks the version warning at the top. --- misc/dist/html/editor.html | 193 +++++++++++++++++++---------- platform/web/emscripten_helpers.py | 6 + 2 files changed, 133 insertions(+), 66 deletions(-) diff --git a/misc/dist/html/editor.html b/misc/dist/html/editor.html index 41caac64426..270136d4377 100644 --- a/misc/dist/html/editor.html +++ b/misc/dist/html/editor.html @@ -14,20 +14,49 @@ - + - + + + Godot Engine Web Editor (___GODOT_VERSION___)