diff --git a/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php b/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php index 223f15135f..129f28b347 100644 --- a/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php +++ b/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php @@ -71,6 +71,17 @@ final class PhabricatorDashboardPanelEditEngine 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(); }