diff --git a/Models/Task.php b/Models/Task.php index 75fa3aa..7fc32c2 100644 --- a/Models/Task.php +++ b/Models/Task.php @@ -796,18 +796,19 @@ class Task implements \JsonSerializable public function toArray() : array { return [ - 'id' => $this->id, - 'createdBy' => $this->createdBy, - 'createdAt' => $this->createdAt, - 'title' => $this->title, - 'description' => $this->description, - 'status' => $this->status, - 'type' => $this->type, - 'priority' => $this->priority, - 'due' => $this->due, - 'done' => $this->done, - 'elements' => $this->taskElements, - 'tags' => $this->tags, + 'id' => $this->id, + 'createdBy' => $this->createdBy, + 'createdAt' => $this->createdAt, + 'title' => $this->title, + 'description' => $this->description, + 'descriptionRaw' => $this->descriptionRaw, + 'status' => $this->status, + 'type' => $this->type, + 'priority' => $this->priority, + 'due' => $this->due, + 'done' => $this->done, + 'elements' => $this->taskElements, + 'tags' => $this->tags, ]; } diff --git a/Theme/Backend/task-create.tpl.php b/Theme/Backend/task-create.tpl.php index 7e9d15d..eda6aa3 100644 --- a/Theme/Backend/task-create.tpl.php +++ b/Theme/Backend/task-create.tpl.php @@ -22,11 +22,10 @@ echo $this->getData('nav')->render(); ?>
| = $this->getData('editor')->render('task-editor'); ?> |
| = $this->getData('editor')->getData('text')->render( 'task-editor', @@ -296,12 +294,13 @@ echo $this->getData('nav')->render(); ?> |
| - |
| - - |