mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 07:20:57 +01:00
Surface edits to "Text" panels on dashboards as remarkup edits
Summary: Fixes T13456. These edits are remarkup edits and should attach files, trigger mentions, and so on. Test Plan: Created a text panel, dropped a file in. After changes, saw the file attach properly. Maniphest Tasks: T13456 Differential Revision: https://secure.phabricator.com/D20906
This commit is contained in:
parent
2adc36ba0b
commit
e86aae99de
1 changed files with 10 additions and 0 deletions
|
@ -9,4 +9,14 @@ final class PhabricatorDashboardTextPanelTextTransaction
|
|||
return 'text';
|
||||
}
|
||||
|
||||
public function newRemarkupChanges() {
|
||||
$changes = array();
|
||||
|
||||
$changes[] = $this->newRemarkupChange()
|
||||
->setOldValue($this->getOldValue())
|
||||
->setNewValue($this->getNewValue());
|
||||
|
||||
return $changes;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue