Skip to content
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

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

4xdk
Copy link
Collaborator

@4xdk 4xdk commented Jul 30, 2018

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.

class Wysiwyg extends Component {
componentWillMount() {
const {tasks: { taskMap }, taskGid, attributeName} = this.props,
attributeValue = taskMap[taskGid][attributeName],
Copy link
Contributor

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?

Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants