[Redesign] Update PHUIRemarkupPreviewPanel

Summary: Ref T8099, Adds DocumentView support, and cleans up headers.

Test Plan: Review preview in Legalpad, Phriction, and Maniphest.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T8099

Differential Revision: https://secure.phabricator.com/D13442
This commit is contained in:
Chad Little
2015-06-25 10:17:22 -07:00
parent 14a395ed8e
commit e053cdd903
5 changed files with 24 additions and 18 deletions

View File

@@ -264,7 +264,8 @@ final class PhrictionEditController
$preview = id(new PHUIRemarkupPreviewPanel())
->setHeader(pht('Document Preview'))
->setPreviewURI('/phriction/preview/')
->setControlID('document-textarea');
->setControlID('document-textarea')
->addClass('phui-document-view');
$crumbs = $this->buildApplicationCrumbs();
if ($document->getID()) {