Antonio Cangiano
6ef9c3865f
Fix JavaScript hello world example
...
The current snippet note example references a non-existent element with id `enjoy`. I updated it to reference the correct id (i.e., `hello`).
2019-08-24 13:36:29 +09:00
sirrah23
ff9789b5a7
Fix 3060
...
Right now there are only two export types that are using a special
output formatter, pdf and html. Both of these formatters currently populate the
`/html/head/base` portion of the associated html document with the name
of the target directory for the file that the user is exporting.
In order for internal links within the exported document to work
correctly, the value of base must also include the filename. This fix
removes the call to `path.dirname`, which gets rid of the necessary
filename.
2019-08-24 13:36:05 +09:00
Jack Hsieh
f09297f406
Fix 2636 ( #3206 )
...
* Fix 2636 Can't scroll to bottom of editor pane
* Fix minor lint issues
2019-08-11 23:22:53 +09:00
amedora
606be4304d
Fix 3007 ( #3028 )
...
* fix code fences never sanitized
* fix mermaid xss
* Revert "fix mermaid xss"
This reverts commit 1ff179a1bd .
* configuable mermaid HTML label
* add locales for mermaid configuration
2019-07-27 12:39:12 +09:00
Junyoung Choi
484b003b34
Fix theme paths
2019-07-26 13:49:40 +09:00
Junyoung Choi
4b62e93257
Fix more style warnings
2019-07-26 11:38:05 +09:00
Junyoung Choi
bc1e837466
Set alias to stylus mode inof
2019-07-26 11:32:41 +09:00
Junyoung Choi
95321e33a0
Fix style of FolderItem
2019-07-26 11:32:07 +09:00
Junyoung Choi
5720b313a3
Merge branch 'master' into discard-warnings
2019-07-26 09:12:18 +09:00
hikerpig
f3e2205e69
fix several propType errors raised by 'react.development.js'
...
some are caused by typo, some are caused by unused propType declarations
2019-07-26 09:11:00 +09:00
Junyoung Choi
410b611b14
Discard all style warnings
2019-07-26 09:03:32 +09:00
Junyoung Choi
1c8af47bac
Fix warnings in ToggleModeButton
2019-07-26 08:50:12 +09:00
Junyoung Choi
c8a2baca3c
Use default value prop rather than value prop
2019-07-26 08:49:52 +09:00
Junyoung Choi
ac5a323115
Discard unused props
2019-07-26 08:49:21 +09:00
Junyoung Choi
fa65e7feef
Fix isTagActive
2019-07-26 08:49:07 +09:00
amedora
71d27d0e55
MarkdownEditor and MarkdownSplitEditor always wrap lines
2019-07-26 07:50:53 +09:00
hikerpig
972d053c83
fix: array access error when token.map is null, fix #3123
2019-07-26 07:49:59 +09:00
Tobias Doll
e940253caf
Using single quotes for empty string
2019-07-22 16:43:21 +09:00
Tobias Doll
2b4d20b94e
Dont highlight search term if search field is emptied
2019-07-22 16:43:21 +09:00
nathan-castlehow
f88fc23e58
Removed Paste / Cut options from preview context menu as they are not relevant in preview mode
2019-07-22 16:42:57 +09:00
nathan-castlehow
caf1f92fef
Removed SetTimeout on Markdown Preview Context menu
2019-07-22 16:42:57 +09:00
nathan-castlehow
e85767b4a0
feat: Added Context Menu for markdown preview mode and copy url when hyperlink
2019-07-22 16:42:57 +09:00
amedora
71f565f66b
fix UI change handler
2019-07-22 16:42:08 +09:00
amedora
769407b3df
add "Wrap Line" button
2019-07-22 16:42:08 +09:00
amedora
e7615ed6d7
add "Wrap Line" button handlers
2019-07-22 16:42:08 +09:00
amedora
fe508307b2
make lineWrapping configurable
2019-07-22 16:42:08 +09:00
Baptiste Augrain
4e30d4b8fb
fix URLs by using the correct path separator ('/' for an url and not path.sep)
2019-07-20 00:58:51 +09:00
Baptiste Augrain
850561613b
fix gallery on windows
2019-07-20 00:58:51 +09:00
AWolf81
782d71ddb0
path fix for MacOs
2019-07-17 17:25:13 +09:00
AWolf81
a0799d19f8
fix app path
2019-07-17 17:25:13 +09:00
AWolf81
ba6eb4f26f
fix path Linux
2019-07-17 17:25:13 +09:00
AWolf81
4af7106e01
change theme path usage and remove relative path
2019-07-17 17:25:13 +09:00
AWolf81
bd52226ae2
change process.env check
2019-07-17 17:25:13 +09:00
ehhc
cb7ac77c61
Update attachmentManagement.js
...
Deleting unneeded stupid log-message
2019-07-10 11:42:00 +09:00
ehhc
55a7ee1f91
Debounce deletion of un-referenced attachments --> don't fixes but mitigates the problems of #3103
2019-07-10 11:42:00 +09:00
amorist
d37210a0d0
fix chinese language new note tab style
2019-07-08 13:14:56 +09:00
amedora
0c7a1e8f17
apply theme color to slider in MarkdownSplitEditor
2019-07-08 13:14:30 +09:00
Kazumi Harada
3d7ab40674
[update] apply the method of fixLocalURLS before exporting to pdf
2019-07-08 13:14:10 +09:00
Kazumi Harada
b8de51be57
[update] adjust code style
2019-07-08 13:13:52 +09:00
Kazumi Harada
1ce72b91ca
[update] by force, insert the default value to the customCSS config
2019-07-08 13:13:52 +09:00
Kazumi Harada
3f96587a70
[update] move default value of the customCSS field to ConfigManager
2019-07-08 13:13:52 +09:00
Huachao Mao
c012bbd54a
Update lock/unlock icons in editor #1760
2019-07-08 13:13:30 +09:00
David Thomason
a50852306e
Loading insert day hotkey triggers from config.hotkey
2019-07-08 13:13:06 +09:00
David Thomason
db396ec107
Added insert date & time info to HotkeyTab settings
2019-07-08 13:13:06 +09:00
David Thomason
6b868658aa
Changed "insert date & time" hotkey on mac from Shift-Cmd-/ to Alt-Cmd-/
2019-07-08 13:13:06 +09:00
Junyoung Choi
b4251a793b
Merge pull request #3037 from AWolf81/fix-search-issue-unicode
...
Simplified search input & fixed chinese character input
2019-06-29 00:41:24 +09:00
roottool
6736a08240
Fixes that TOC hasn't id attribute when the title is all 2-byte characters ( #2994 )
...
* Fix: 2-byte character support of slug
* Fix: Decodes slug to display slug
* Fix: Removed a logic of replaceDiacritics
* Fix: Fixed slugify to pass tests
* Fix: Fixed not to remove underscore
* Adds the test for slugify.js
* Fix: Fix to jump to heading
* Added a comment
* Fix: Created click event only linking to heading
* Fix: Fix to use handleLinkClick(e)
* Fix: Changed the regex rule
* Fix: Changed the regex rule of extractId
2019-06-29 00:40:16 +09:00
amedora
bc27fd0acc
disable fuzzy link
2019-06-03 13:54:40 +09:00
Ryota Kusano
244a28c7d2
Adjust continuous quotation pattern
2019-05-29 22:55:05 +09:00
Ryota Kusano
edac4d3fed
Fix to remove unnecessary escape charactor erorr on IDE
2019-05-29 22:55:05 +09:00