summaryrefslogtreecommitdiff
path: root/public/js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #598 from xxyy/feature/cspChristoph (Sheogorath) Kern2018-01-221-0/+8
|\ | | | | Implement basic CSP support
| * Revert "Load js-url lib using legacy-loader"Literallie2017-11-022-8/+4
| | | | | | | | | | | | | | | | Didn't work in Firefox for some reason. `[Script Loader] ReferenceError: module is not defined` This reverts commit 5b83deb043296c23ff912a2472703c1f7faddb4b.
| * Fix MathJax config not being picked upLiterallie2017-10-221-1/+1
| | | | | | | | thanks standard
| * Move CSP logic to new file, Fix boolean config examplesLiterallie2017-10-221-1/+0
| | | | | | | | Not sure why I was quoting these in the first place
| * Load js-url lib using legacy-loaderLiterallie2017-10-222-4/+9
| | | | | | | | Doesn't use eval, plus no window object access
| * Fix MathJax CSP issuesLiterallie2017-10-221-0/+8
| |
* | Fix image alt not render properlyWu Cheng-Han2018-01-191-1/+2
| |
* | Fix anchor id to keep uppercase charactersMax Wu2018-01-161-1/+5
| | | | | | id shouldn’t be converted to lowercase since id attribute is case sensitive
* | :sparkles: Implemented dark theme.Edoardo Odorico2018-01-053-1/+18
| | | | | | | | Signed-off-by: Edoardo Odorico <edoubuntu@gmail.com>
* | Fix file permission, remove useless executablePeter Dave Hello2017-12-141-0/+0
| |
* | Merge pull request #609 from monoxane/masterChristoph (Sheogorath) Kern2017-12-121-3/+3
|\ \ | | | | | | Correcting grammatical errors related to the document char count tooltip
| * | Corrected some grammatical issuesOliver Herrmann2017-10-301-3/+3
| | | | | | | | | Obviously caught up in a bad translation and didn't particularly make sense for native english speakers.
* | | Prevent XSS vul by srcdoc in iframeSheogorath2017-11-241-1/+1
| | |
* | | Fix mermaid error handlingSheogorath2017-10-301-2/+7
| | |
* | | Use mermaidAPI in mermaid scopeSheogorath2017-10-301-12/+4
|/ / | | | | | | | | | | | | | | Introduced by https://github.com/knsv/mermaid/commit/a5b71455271aef1180eefa1054d751dea1885e3f#diff-67ae90c5144c55348a3cbdb078240454L532 Fixes #600 Parse only throws error: https://github.com/knsv/mermaid/commit/167368d508f1e5b1606b2b45f892cdd60d479448#diff-67ae90c5144c55348a3cbdb078240454
* | Merge pull request #591 from Rwing/masterSheogorath2017-10-231-0/+3
|\ \ | |/ |/| support Simplified Chinese and rename original zh to Traditional Chinese
| * support Simplified Chinese and rename original zh to Traditional ChineseRwing2017-10-231-0/+3
| |
* | Fix markdown-it gist plugin code closing tagYukai Huang2017-10-211-1/+1
|/ | | | fix #596
* Fix to filter @import CSS syntax in style tag to prevent XSS [Security Issue]Wu Cheng-Han2017-10-051-4/+9
|
* Fix unescape > symbol inside the style tags to make the CSS worksWu Cheng-Han2017-10-051-0/+4
|
* Fix blockquote not parse correctly in slide modeWu Cheng-Han2017-10-052-3/+1
|
* Fix home and end keys behavior for windowsWu Cheng-Han2017-09-271-0/+2
|
* Fix the < and > symbols are doubly escaped which affected by executing ↵Wu Cheng-Han2017-09-271-0/+2
| | | | preventXSS twice
* Fix slide mode contains unclosed tags might cause XSS [Security Issue]Wu Cheng-Han2017-09-271-1/+2
|
* Fix unclosed tags might cause XSS [Security Issue]Wu Cheng-Han2017-09-271-1/+1
|
* Fix slide mode might hide scrollbar on some linuxMax Wu2017-06-141-2/+2
|
* Fix speaker note separator regex should only take effect on the line startWu Cheng-Han2017-06-051-1/+1
|
* Merge branch 'master' into BackendRefactorMax Wu2017-05-146-220/+256
|\
| * Manage syncscroll / currentMode in appStateYukai Huang2017-05-074-48/+58
| |
| * Move syncsroll under libYukai Huang2017-05-072-3/+3
| |
| * Remove CodeMirror-other-cursors dom creationYukai Huang2017-05-071-3/+0
| | | | | | | | Since it’s done via hackmdio/CodeMirror#1
| * Change more global var to globalYukai Huang2017-05-071-87/+87
| |
| * Extract modeTypeYukai Huang2017-05-073-13/+15
| |
| * Change some global variables to localYukai Huang2017-05-071-31/+31
| |
| * Fix indentationYukai Huang2017-05-071-6/+6
| |
| * Expose internal editor config variableYukai Huang2017-05-072-4/+4
| |
| * Load statusbar template by string-loaderYukai Huang2017-05-072-34/+61
| |
* | style: Fixed variable already declaredBoHong Li2017-05-081-2/+2
|/
* Update to support code block syntax highlighting of gherkinWu Cheng-Han2017-05-052-2/+3
|
* Fix link regex should filter protocol with case insensitive flag [Security ↵Wu Cheng-Han2017-04-111-1/+1
| | | | Issue]
* Fix indentationsYukai Huang2017-03-281-52/+48
|
* Drop global variable ui exposingYukai Huang2017-03-282-5/+6
|
* Update to es6 module import styleYukai Huang2017-03-281-7/+6
|
* Update cm instance in changes event argumentYukai Huang2017-03-281-1/+1
|
* Move updateStatusBar method into editor classYukai Huang2017-03-283-27/+35
|
* Fix listener “this” contextYukai Huang2017-03-281-1/+1
|
* Promisify getStatusBarTemplate methodYukai Huang2017-03-281-26/+28
|
* Add cm instance to cursorActivity argumentYukai Huang2017-03-281-2/+2
|
* Update focus argument with cm instanceYukai Huang2017-03-281-1/+1
|
* Rewrite cursorActivity with multi listener styleYukai Huang2017-03-281-17/+17
| | | | - adjust function order to prevent standard lint failure