-
Notifications
You must be signed in to change notification settings - Fork 4
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
Include CodeMirror in edit page #13
Include CodeMirror in edit page #13
Conversation
Now that the js source files are being bundled I think that they should be moved outside of the public assets directory. Where do you think we should move them @vincent-peugnet ? I guess somewhere in |
Maybe not in For me it's even clearer if there is an
|
Ok good point. Also src is the standard for js sources. |
76b4d81
to
c773ff8
Compare
- add npm prerequisite - add codemirror through npm - add webpack trough npm to build the js bundles - add first codemirror enhenced textarea
c773ff8
to
088b5ce
Compare
Okay. There is still a problem: the font-size setting doesn't work with CodeMirror yet |
I knew this would be a problem as CodeMirror seems to be "on top of everything". This is what I've founded in the manual :
|
I also appreciate "Install from sources" addition in the |
Oh, I see a quick thing that can be fixed : auto line break should be used for markdown areas as it's set in MichelFortin's script In the future it should be an option synchronized with the render's options. |
I'm not sure what you are talking about. but it's now fully functional and I think you should do the options tweaking yourself to choose exactly what you want. |
Okay, I've figured out how to do this :
|
Hey I started to implement this feature
Left to do:
/src/
Closes #11