Skip to content

Commit

Permalink
add plaintext to replybox placeholder
Browse files Browse the repository at this point in the history
support for rich text is disabled for security purposes, which
means we will have to find another way to have the source name in
bold while at the same time preventing the user from inputing rich
text
  • Loading branch information
deeplow committed Oct 23, 2019
1 parent b50e277 commit 22c1691
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions securedrop_client/gui/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -2290,6 +2290,7 @@ def __init__(self, source: Source, controller: Controller) -> None:

# Create relybox widgets
self.text_edit = QPlainTextEdit()
self.text_edit.setPlaceholderText("Compose a reply to Bold Sourcename")

self.send_button = QPushButton()
self.send_button.clicked.connect(self.send_reply)
Expand Down

0 comments on commit 22c1691

Please sign in to comment.