-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR 226 added editable descriptions #232
base: develop
Are you sure you want to change the base?
PR 226 added editable descriptions #232
Conversation
Updating to newest.
This reverts commit b1f4dc7.
class Wysiwyg extends Component { | ||
componentWillMount() { | ||
const {tasks: { taskMap }, taskGid, attributeName} = this.props, | ||
attributeValue = taskMap[taskGid][attributeName], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@4xdk Got a more description variable name than attributeValue
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, this variable can hold any attribute value - depending on props passed to Wysiwyg element. I think generic variable name fits in this case.
As per: #214
Supports saving to markdown and also writing markdown.
It's not perfect by any means, but I think it's a good starting point.
The one issue that I can't seem to figure out is how to make ReactMarkdown element process links and add this target="_blank" to external links.