mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 05:09:43 +02:00
Markdown support in card description and comment, fixes for mobile devices, update dependencies
This commit is contained in:
parent
ed348cf7bc
commit
2fda41b982
11 changed files with 374 additions and 14 deletions
|
@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
|
|||
import classNames from 'classnames';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { Comment } from 'semantic-ui-react';
|
||||
import { Markdown } from '../../../lib/custom-ui';
|
||||
|
||||
import EditComment from './EditComment';
|
||||
import User from '../../User';
|
||||
|
@ -39,7 +40,7 @@ const ItemComment = React.memo(
|
|||
</div>
|
||||
<EditComment ref={editComment} defaultData={data} onUpdate={onUpdate}>
|
||||
<>
|
||||
<p className={styles.text}>{data.text}</p>
|
||||
<Markdown source={data.text} linkTarget="_blank" className={styles.text} />
|
||||
<Comment.Actions>
|
||||
{user.isCurrent && (
|
||||
<Comment.Action
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue