From 0a2d532a7b03d47195553cd859b003b9fe3e2d4d Mon Sep 17 00:00:00 2001 From: Simon Huber Date: Tue, 30 Jul 2019 14:49:05 +0200 Subject: [PATCH] Fix bug where edit widget input-tag is empty (#4088) --- core/modules/editor/factory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/editor/factory.js b/core/modules/editor/factory.js index c2e56f150..82b4484c6 100644 --- a/core/modules/editor/factory.js +++ b/core/modules/editor/factory.js @@ -193,7 +193,7 @@ function editTextWidgetFactory(toolbarEngine,nonToolbarEngine) { type = type || "text"; } // Get the rest of our parameters - this.editTag = this.getAttribute("tag",tag); + this.editTag = this.getAttribute("tag",tag) || "input"; this.editType = this.getAttribute("type",type); // Make the child widgets this.makeChildWidgets();