Fixed Markdown editor auto-grow on the task form
This commit is contained in:
parent
5969eb8e30
commit
6cfce7720a
|
|
@ -16,6 +16,7 @@ Improvements:
|
|||
|
||||
Bug fixes:
|
||||
|
||||
* Fixed Markdown editor auto-grow on the task form (Safari)
|
||||
* Fixed compatibility issue with PHP 5.3 for OAuthUserProvider class
|
||||
|
||||
Version 1.0.31
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ class TaskHelper extends Base
|
|||
public function selectDescription(array $values, array $errors)
|
||||
{
|
||||
$html = $this->helper->form->label(t('Description'), 'description');
|
||||
$html .= '<div class="markdown-editor-container">';
|
||||
$html .= $this->helper->form->textarea(
|
||||
'description',
|
||||
$values,
|
||||
|
|
@ -62,6 +63,7 @@ class TaskHelper extends Base
|
|||
'markdown-editor'
|
||||
);
|
||||
|
||||
$html .= '</div>';
|
||||
return $html;
|
||||
}
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,8 @@
|
|||
/* markdown editor */
|
||||
.markdown-editor-container {
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
div.CodeMirror,
|
||||
div.CodeMirror-scroll {
|
||||
max-height: 250px;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue