-
Notifications
You must be signed in to change notification settings - Fork 8
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
Keyboard Shortcuts:Tab button in text area #34
base: master
Are you sure you want to change the base?
Keyboard Shortcuts:Tab button in text area #34
Conversation
My my, what did you do change 336 files 😅 Try putting that js in |
Also, you still haven't given us the browser console error |
@Demfier I didn't even opened 336 files i guess , i don't know how come i have made changes in so many files, but i tried too many times to make things work. |
browser console error please! |
the |
How can i check if jquery is loading properly or not? |
You can check it by doing a `window.jQuery` in the js console.
ᐧ
|
And where exactly did you add you js code? It should be after jquery has
been loaded
ᐧ
…On 14 December 2017 at 19:08, Gaurav Sahu ***@***.***> wrote:
You can check it by doing a `window.jQuery` in the js console.
ᐧ
|
You need to add node_modules in .gitignore, that is what's causing the large number of file changes. Unless you do that, it will be really difficult for us to review this. |
Need some help here. |
So as per what I spoke with @142ayushkumar , changes in existing files have been made in init.html and my.js |
templates/init.html
Outdated
|
||
<head> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | ||
<script src="static/js/my.js"></script> |
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.
Need to write /static/js/my.js
See this: Another django project
@142ayushkumar Could you please explicitly write what you are trying to solve with this PR? Also, did you test it locally? Do not submit PR's which do not work locally / before testing. Please mention which all shortcuts you have thought of, and which are implemented in this PR. I tried using it locally, does not seem to work. |
It will help if you can mention all possible shortcuts you can think of. That way, you'll stay motivated if and when you work on them. |
As the name suggests "Tab button in text area", i expected that when in text area tab button will be used it will give '\t'. Yes, i tested this locally and it didn't seemed to work in this project but when i tested the same code in some html and js files it works, see => http://jsfiddle.net/jz6J5/. |
@Demfier and @kaustubhhiware , #39 takes care of this pr, by configuring codemirror tab button works as desired in this pr. |
Closes #15