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();