-
Notifications
You must be signed in to change notification settings - Fork 27
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
Strange text duplicates when clicking a button several times #35
Comments
Thanks for the catch! Will check. |
Yes have a fix for this don't know if it is good style. Just drop selection Am Donnerstag, 3. November 2016 schrieb Jeremy Dagorn :
|
Got it. Will wait for your PR. |
hey, how do I run the tests? I get following error when doing npm test
|
OK Solved there was a mock problem with the markup package. I would like to submit a PR. Do not have permission to push a branch though |
Actually I checked github's md editor. It works as follows:
|
Interesting. Thanks for looking into that. Can I ask in what context you are using this package? |
Hi, Then I required a md editor. So I started to look around. I found yours was the easiest to install. So now I'm wondering if I could just do 2 things at once. Contribute and learn react :) That's the reason I'm interested Am Freitag, 4. November 2016 schrieb Jeremy Dagorn :
|
Alright, do not hesitate to fork the repo, work on it and let me know if you have any questions! |
Yes I will, One thing. I want to change the code of the library and use the updated Right now I always have to Rm -rf node_modules Then rpm i That sucks terribly Am Freitag, 4. November 2016 schrieb Jeremy Dagorn :
|
You should be able to use |
I tried but I get some errors that I can't fix with that approach Am Freitag, 4. November 2016 schrieb Jeremy Dagorn :
|
What are the errors you are receiving? On Fri, Nov 4, 2016 at 12:01 PM nomad5000 [email protected] wrote:
|
Michaels-MBP:Example michael$ webpack ERROR in ../index.js A common cause of this error is the presence of a configuration options object without the corresponding preset name. Example: Invalid: For more detailed information on preset configuration, please see http://babeljs.io/docs/plugins/#pluginpresets-options. (While processing preset: "/Users/michael/GitRepos/react-markdown-editor/node_modules/react/react.js")
|
I can check this a little bit later. I am still at work sorry! |
No Problem, It’s late here I will check tomorrow. ;) I think it has something to do with webpack not being able to handle symbolic links
|
This might be the solution :)
Michael Schmidt, Web Developer / Consultant Michael Schmidt, Eisnacherstr. 71, 10823, Berlin, Germany +49-157-85925901 |
Any news on this? Were you able to have your symlink working? |
Hi Jeremy, No I couldn't get it to work. I'm kind of busy now with a new project in the oven 😄. Actually they needed a markdown editor for a cms type of backend. They used I would really like to contribute to your editor. I see one thing that would keep me from using it in production. For one: the size of the react... package is kind of large ~ 1MB I would really like to work with you on this one. I understand React pretty The fix for this issue that was easy to implement with my knowledge level, It would be better to remove styling on the selection when clicking a Jeremy Dagorn [email protected] schrieb am Mi. 16. Nov. 2016 um
|
Reproduce:
select a part of the text that you want to apply style to.
Then click the button (bold,...) then click the button again, again and again.
Result will be several times insert of partial test originaly selected + markdown to apply
The text was updated successfully, but these errors were encountered: