-
Notifications
You must be signed in to change notification settings - Fork 13
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
allow edit headings' anchor ids #11
base: master
Are you sure you want to change the base?
Conversation
@jacobtoppm any chance this PR can be reviewed? |
onRemove(e) { | ||
e.preventDefault(); | ||
e.stopPropagation(); | ||
this.setState({ showTooltipAt: null }); |
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.
This doesn't actually remove it, which feels confusing.
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.
Thx, I will check and let you know soon
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.
I have fixed. Now onRemove sets anchor to null, which means that slugified header text will be set as id. Also I have renamed button to 'Reset'.
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.
@jacobtoppm will you have time to have a look?
any chance this PR can be approved/reviewed? |
@jacobtoppm any update on this? |
This PR is intended to solve issue.
PR includes: