Fixed Markdown editor auto-grow on the task form

This commit is contained in:
Frederic Guillot 2016-07-15 21:05:15 -04:00
parent 5969eb8e30
commit 6cfce7720a
No known key found for this signature in database
GPG Key ID: 92D77191BA7FBC99
7 changed files with 13 additions and 5 deletions

View File

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

View File

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

View File

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