diff --git a/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php b/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php --- a/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php +++ b/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php @@ -71,6 +71,17 @@ return $panel; } + protected function newEditableObjectForDocumentation() { + $panel = parent::newEditableObjectForDocumentation(); + + $text_type = id(new PhabricatorDashboardTextPanelType()) + ->getPanelTypeKey(); + + $panel->setPanelType($text_type); + + return $panel; + } + protected function newObjectQuery() { return new PhabricatorDashboardPanelQuery(); }