Allow users to set whether or not textareas are monospaced.

Summary:
Some users like monospaced textareas and others don't.
This introduces an option to set this as a user preference.

Test Plan: Enabled and saw monospaced textareas, disabled and saw non-monospaced textareas.

Reviewers: epriestley

CC: aran, Korvin

Maniphest Tasks: T2114

Differential Revision: https://secure.phabricator.com/D4037
This commit is contained in:
Ricky Elrod
2012-11-27 14:06:31 -08:00
committed by epriestley
parent 71c170661b
commit 416d26b621
14 changed files with 80 additions and 24 deletions

View File

@@ -132,6 +132,7 @@ final class PhamePostEditController
->setValue($post->getBody())
->setHeight(AphrontFormTextAreaControl::HEIGHT_VERY_TALL)
->setID('post-body')
->setUser($user)
)
->appendChild(
id(new AphrontFormSelectControl())