David Bolack
dd091b9bb2
Disable some codeEditor hotkeys if not in a gfm langauge editor.
...
This might not be the most elegant way to do this. I was not able to find, in quick searches, a method of adding/removing extraKeys outside of instantiation.
2025-10-28 12:32:53 -05:00
Trevor Buckner
63675a46e0
Lint more things
2024-09-16 01:42:21 -04:00
Trevor Buckner
26a126859d
Lint
2024-09-14 19:02:55 -04:00
Trevor Buckner
5c2acf3183
Let Editor pass changes up and inherit values down
2024-09-14 18:52:13 -04:00
Trevor Buckner
643af98ca3
Add comment
2024-08-08 17:44:16 -04:00
Trevor Buckner
3b61cd355f
Fix edge case where string was emitting data: twice.
...
Also, a case where the input is right around 50 chars. It can be truncated twice, leading to a long `.....`
2024-08-08 17:43:57 -04:00
David Bolack
423a4a521a
Correct truncation when looking for data: in css folding
2024-08-02 15:25:41 -05:00
David Bolack
05d4d5b1ff
Revert "Correct truncation when looking for data: in css folding"
...
This reverts commit ad1e8d50d7 .
2024-08-02 15:25:10 -05:00
David Bolack
ad1e8d50d7
Correct truncation when looking for data: in css folding
2024-08-02 15:24:14 -05:00
David Bolack
2af2ad629d
Try to account for situations where the URL folding is past the max length for the truncation so the user can see why this is a fold.
...
Remove missed debug messages.
2024-07-21 12:58:21 -05:00
David Bolack
2fc7aa454f
Add data: URL folding for CSS.
...
Regex might need tweaking to catch all cases, but it catches the basics.
2024-07-21 12:40:49 -05:00
David Bolack
6693fb1c13
reduce redundant trim()s
2024-07-20 21:40:22 -05:00
David Bolack
2c4f3473e5
Trim the trailing { on a CSS fold.
2024-07-20 00:43:02 -05:00
David Bolack
c82b62f953
Add Code folding on CSS style tab
2024-07-19 16:03:44 -05:00
Trevor Buckner
783e88b5e6
Merge branch 'master' into pr/3477
2024-05-21 17:42:03 -04:00
Víctor Losada Hernández
b7717171b3
Server and shared folders
2024-05-17 22:34:40 +02:00
Gazook89
8ae22bdc27
fix refs in codeEditor.jsx
2024-05-16 23:15:54 -05:00
Trevor Buckner
a6b2dab9cc
Linting
2024-05-08 14:53:24 -04:00
Trevor Buckner
cfffb4961b
Rename files, add some instructions to markdown.js
2024-05-07 15:28:05 -04:00
Trevor Buckner
dd205a14bc
typo
2024-05-03 21:40:07 -04:00
Trevor Buckner
9f19514b03
CodeMirror Dropdown working
2024-05-03 21:40:07 -04:00
Víctor Losada Hernández
f1c3507a9f
initial commit
2024-01-31 15:45:27 +01:00
Víctor Losada Hernández
212b3f7e05
full fix
2023-12-16 16:49:13 +01:00
Trevor Buckner
2dc874daba
Adjust hotkeys to match other changes
2023-12-04 22:21:58 -05:00
David Bolack
f1ca6eeee2
Near complete
2023-11-08 00:49:39 -06:00
G.Ambatte
cf3635bccc
Merge branch 'master' into addEditorThemes-#362
2023-07-11 07:38:13 +12:00
G.Ambatte
7681be2e9c
Merge branch 'master' into addEditorThemes-#362
2023-06-10 14:25:23 +12:00
G.Ambatte
d2b2e69123
Shift Footer generation to snippet
2023-06-03 13:30:32 +12:00
G.Ambatte
e6ad8aefde
Lint fix
2023-06-03 12:18:22 +12:00
G.Ambatte
43ae80e80d
Merge branch 'master' into addSmartPageBreak-#2289
2023-06-03 12:16:18 +12:00
Trevor Buckner
ca34ca499d
Remove duplicate tabs
2023-05-22 22:40:18 -04:00
Trevor Buckner
288b407e3e
Turn off smartIndent
2023-05-20 01:32:07 -04:00
Trevor Buckner
57eea5c69f
Custom function to use spaces for indent
2023-05-20 01:24:36 -04:00
G.Ambatte
b2546d908a
Shift CSS link to CodeEditor render
2023-04-02 13:19:43 +12:00
G.Ambatte
7dd1368c09
Add editorTheme to editor.jsx and downstream
2023-04-02 12:53:26 +12:00
Trevor Buckner
3327712253
Focus on editor after snippet
2022-10-18 13:52:22 -04:00
G.Ambatte
c30eb9056a
Break up text generation for legibility
2022-10-05 22:11:03 +13:00
G.Ambatte
5de63799c2
Update default footnote text
2022-10-05 21:20:39 +13:00
G.Ambatte
dfa8aea1ec
Add newPageWithFooter function
2022-10-05 20:37:05 +13:00
G.Ambatte
de86a77dfc
Change post-insertion selection option
2022-09-27 17:06:48 +13:00
G.Ambatte
b44a7d3236
Merge branch 'master' into stopUnfoldingCode-#2135
2022-09-27 13:01:30 +13:00
G.Ambatte
447f8d39dc
Reduce variable use
2022-09-27 08:03:43 +13:00
G.Ambatte
227be5e3be
Modify folded text generation
2022-09-25 13:55:46 +13:00
G.Ambatte
db174c9655
Add optional overwrite protection
2022-09-24 13:50:26 +12:00
G.Ambatte
56fde5a448
Use cm.replaceSelection instead of split/join text
2022-09-24 13:34:26 +12:00
G.Ambatte
2ac9c190a9
Remove commented out shortcut keys
2022-06-05 11:11:58 +12:00
G.Ambatte
0c0d817cc2
Add scrollPastEnd to CodeMirror
2022-06-02 13:49:27 +12:00
Alexey Sachkov
78d4487c58
Fix linter errors
2021-12-29 21:30:03 +03:00
Alexey Sachkov
8a3f52b704
[NFC] Add display name for custom React components
...
This improves readability of "Components" tab from React Development Tools extension for Chrome
2021-12-29 21:18:54 +03:00
Charlie Humphreys
38d8764f15
Disable code folding in style tab, disable active line highlight and whitespace visibility
2021-12-20 00:42:53 -06:00