Commit Graph

27 Commits

Author SHA1 Message Date
Tienson Qin
73cea19caf fix: code not saved when update 2021-06-01 23:58:38 +08:00
charlie
81ae683689 fix(ui): code block theme when toggling theme 2021-06-01 21:48:45 +08:00
Tienson Qin
43d00d677d fix: inserting some weird characters on plain text and code blocks
close #2042
close #2037
2021-05-30 11:14:02 +08:00
Tienson Qin
70ebbc286b fix: code block issue
Close #2000
2021-05-27 14:48:06 +08:00
Tienson Qin
8d6b937415 fix: code block editing 2021-05-16 21:57:17 +08:00
Tienson Qin
c9943eb680 fix: disable global editing bindings when in block component editing
for example, codemirror, excalidraw modes
2021-05-16 12:02:03 +08:00
Tienson Qin
30f21c7bba refactor: clean code 2021-05-02 18:12:37 +08:00
Tienson Qin
2f808c14bf refactor: simplify editor timeout 2021-04-18 17:27:07 +08:00
Haydenull
5be53939fd feat: add sass/scss/less modes to codemirror and highlight active line 2021-04-04 06:09:52 +08:00
Tienson Qin
ada8cc6a38 fix: code block 2021-03-31 13:57:04 +08:00
Tienson Qin
3c88a29db3 fix: file corrupts when editing code blocks
Related to #1498
2021-03-31 13:16:24 +08:00
Tienson Qin
ee95b5070b fix: selection 2021-03-31 00:11:12 +08:00
Tienson Qin
4bb95ef256 fix: oops 2021-03-17 02:54:38 +08:00
Tienson Qin
7f072fb2c9 chore: add typescript support 2021-03-17 01:15:48 +08:00
Peng Xiao
6fa1219c70 feat: map typescript to text/typescript 2021-03-16 17:22:04 +08:00
Peng Xiao
3a43d0365b feat: add js/ts/tsx modes to codemirror 2021-03-16 17:22:04 +08:00
akhater
82d3783ada Update to code.cljs
adding support for powershell
2021-01-18 05:35:53 -08:00
Tienson Qin
378d692eaa feat(query dsl): add custom component 2020-12-28 22:20:49 +08:00
Tienson Qin
8fa9b9e58b fix(editor): re-use CodeMirror editor 2020-12-17 12:57:49 +08:00
Tienson Qin
1bf9f6dd97 feat: add more CodeMirror modes
Closed #929.
Also, fixed an issue that a following click will close the editing block.
2020-12-16 23:38:29 +08:00
Tienson Qin
fcb4a8752e fix: code block highlights not working
Resolved #920
2020-12-14 21:48:08 +08:00
Tienson Qin
0bdf2c65e5 perf(search): use fuzzysort for both pages and blocks searching 2020-12-13 22:40:06 +08:00
Tienson Qin
08c64ec165 fix: safe check dom id before rendering code blocks 2020-12-08 14:23:17 +08:00
Tienson Qin
57fe9f4430 fix: slow loading when a page has a lot of code blocks
Resolved #755
2020-11-25 22:40:30 +08:00
Michael Wong
3cc0d3154a style: remove unused :require (#193)
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2020-11-04 11:35:35 +08:00
Runjuu
988eb5f1ed feat(extentions/code): move styles into separate file
should fix https://github.com/logseq/logseq/issues/528
2020-11-02 09:56:52 +08:00
Tienson Qin
2d1fa33204 refactor: remove web 2020-10-27 23:19:40 +08:00