Gabriel Horner
b7b3375f62
Lint extensions/ and wrap up hanging frontend dirs
...
fs/, format/ and logseq/ also added to linting by adding todos for later
inspection
2022-01-12 16:38:17 -05:00
Gabriel Horner
89bef5b26e
Merge remote-tracking branch 'origin/master' into test/add-clj-kondo-part-two
2022-01-12 15:38:57 -05:00
Gabriel Horner
f1d15b0e05
Lint components and address comments in review
...
Start using :clj-kondo/ignore as lint violations that need to be
revisited. They may side effect and should be removed with better
understanding of their context
2022-01-12 15:32:47 -05:00
Tienson Qin
0f08340799
fix: pop up a saving confirmation dialog when losing focus
2022-01-12 11:52:28 +08:00
Andelf
967f89d5ac
fix: rm debug print
2022-01-06 13:43:05 +08:00
Andelf
7e39d9efad
feat(editor): add codemirror options support
2022-01-04 21:35:07 +08:00
Andelf
7024e9b4c3
fix(editor): refine file edting, fix state update
...
- update element state when switching files #3415
- notification when saved
- minor style change
- refine editor element id gen, use uuid
- add trailing newline to saved file
Fix #3415
2021-12-21 12:37:03 +08:00
Andelf
f838590ea5
fix(editor): handle convertion from file ext to language mode
2021-12-21 12:36:06 +08:00
Andelf
0e570ba45b
refactor: simplify clojure lang mode setting
2021-12-21 12:36:06 +08:00
Andelf
9eb7c6f820
refactor(editor): use codemirror to guess code mode
2021-12-21 12:36:06 +08:00
Andelf
acabab5ba7
fix(editor): do not remove properties before parse
2021-12-16 19:23:10 +08:00
Andelf
0fa73c2786
feat(editor): add as many lanuage modes
2021-12-16 17:23:01 +08:00
Andelf
13e3ee2cc9
fix(editor): handle code block with non-latin1 chars
2021-12-13 14:59:29 +08:00
Andelf
b3f2871414
refactor(editor): refine saving of code editor
...
- won't remove indentations
- use pos-meta to save block
- debounce esc event against blur
2021-12-12 16:24:14 +08:00
Tienson Qin
b8e3298904
enhance: type ``` and press Enter to switch to codemirror
2021-11-26 21:04:10 +08:00
Tienson Qin
a5674b1728
fix: code block can't be saved
2021-11-26 19:15:33 +08:00
llcc
b2e3901631
fix slash command clashes with Org-mode italics ( #3010 )
...
* enhance: fix https://github.com/logseq/logseq/issues/990
Co-authored-by: leizhe <leizhe@leizhedeMacBook-Air.local >
2021-11-02 19:15:17 +08:00
llcc
fef5bbf068
enhance(clock): support recording in repeated block // cleanup unused namespaces ( #2777 )
...
* enhance(clock): support recording in repeated block
* cleanup: unused namespaces
* cleanup: missing-else-branch if --> when
* enhance: wider search results window for mobile browser
* fix: namespace requirement
2021-09-08 10:23:16 +08:00
Peng Xiao
401d85be5f
feat: add protobuf mode
2021-08-27 13:37:20 +08:00
Tienson Qin
a378170c26
enhance: git auto-commit when detecting new changes from the disk
2021-08-24 23:59:48 +08:00
Weihua Lu
dde5b9d178
enhance: add codemirror r mode
2021-08-20 15:51:30 +08:00
Tienson Qin
e81e0046d6
feat: add sparql and turtle modes (codemirror)
2021-08-20 15:16:33 +08:00
Tienson Qin
bfaa65a996
fix: remove properties
2021-07-30 13:17:39 +08:00
Tienson Qin
d5dbdf6589
chore: bump mldoc
2021-07-30 12:57:27 +08:00
Tienson Qin
1142239c89
fix: timestamps in code block
2021-07-29 14:16:47 +08:00
Tienson Qin
ab8e04d14d
fix: block timestamps in the code block
2021-07-16 19:40:36 +08:00
rcmerci
5c6c7a7939
fix: error when editing config.edn
2021-06-29 12:31:42 +08:00
Sebastian Bensusan
a196ddb8ed
fix: set the codemirror block as the edited block when it is clicked ( #2299 )
2021-06-28 12:58:13 +08:00
Devon Zuegel
07e7e42b0e
feat: add /calc slash command ( #2244 )
2021-06-21 11:19:01 +08:00
Sebastian Bensusan
56de7fbd40
feat: add ui for calculator mode in editor
2021-06-13 08:48:09 +08:00
Tienson Qin
b130f88bfc
fix: code block editing issue
2021-06-11 00:12:03 +08:00
Tienson Qin
ed5ec08d84
fix: preventDefault error
...
close #2069
2021-06-03 02:05:06 +08:00
Tienson Qin
b8b24d9370
fix: keep codemirror mode is null when language not set
...
close #2066
2021-06-02 16:08:15 +08:00
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