1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +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:
epriestley 2019-11-13 10:29:08 -08:00
parent 2adc36ba0b
commit e86aae99de

View file

@ -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;
}
}