md_simple_editor | Very simple markdown editor for rails
kandi X-RAY | md_simple_editor Summary
kandi X-RAY | md_simple_editor Summary
Very simple markdown editor for rails
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of md_simple_editor
md_simple_editor Key Features
md_simple_editor Examples and Code Snippets
Community Discussions
Trending Discussions on md_simple_editor
QUESTION
I am trying to edit a specific gem: https://github.com/rderoldan1/md_simple_editor
The issue is that the editor does not load without a page refresh first. The issue can be checked here: https://github.com/rderoldan1/md_simple_editor/issues/9
I was able to fix this in my local by editing the file:
/usr/local/rvm/gems/ruby-2.3.4/gems/md_simple_editor-0.3.0/app/assets/javascripts/md_simple_editor.js.coffee
It is fixed by just editing the code as the other users are saying in the issue posted in the gem url above.
I cant find the right place to fix this in production, can someone point me in the right directory path?
Thanks in advance.
...ANSWER
Answered 2018-Apr-28 at 21:14Don't do it that way. Fork the gem, make the changes in the gem code and make sure you write tests that prove your code works as expected. Then push the code to your forked repo on github.
Then make a pull request and support the open source community. In the mean time, you can use your version of the gem by edit your Gemfile
like so:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install md_simple_editor
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page