From 05ca005eebed9b11515240728315ad4b390d87e5 Mon Sep 17 00:00:00 2001
From: Calixte Denizet <calixte.denizet@gmail.com>
Date: Wed, 29 Nov 2023 11:09:18 +0100
Subject: [PATCH] [Editor] Fix subtype for telemetry data (follow-up of #17329)

Fix a test failure in m-c.
---
 src/display/editor/alt_text.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/display/editor/alt_text.js b/src/display/editor/alt_text.js
index 8981235c5..dbe634b7e 100644
--- a/src/display/editor/alt_text.js
+++ b/src/display/editor/alt_text.js
@@ -146,7 +146,7 @@ class AltText {
             source: this,
             details: {
               type: "editing",
-              subtype: this.editorType,
+              subtype: this.#editor.editorType,
               data: {
                 action: "alt_text_tooltip",
               },