David Bolack
ea9f9a8c36
Missed a couple of variable repalcements.
2024-06-03 02:39:20 -05:00
David Bolack
cca79d4b17
Merge branch 'master' into Issue_241_Part_II
2024-06-03 02:29:19 -05:00
David Bolack
a715c9e1e6
Store livescrolling in local storage
...
Small fixes for loading the correct current state.
2024-06-03 02:26:56 -05:00
Trevor Buckner
8a55658bd7
Rename printPage function to printCurrentBrew()
...
Avoid confusion with other "page" components.
2024-05-28 16:11:18 -04:00
Trevor Buckner
b4349a0476
iframe hotkey printing only works in Edit/Share/New
...
Default browser printing still works
2024-05-28 12:51:58 -04:00
Trevor Buckner
695b9916dd
Remove old /print page
2024-05-28 12:39:43 -04:00
Trevor Buckner
ac3168e365
Move "printPage()" to helpers.js for reuse in multiple pages
2024-05-24 19:28:02 -04:00
Trevor Buckner
e396211f92
remove duplicate button
2024-05-23 17:13:44 -04:00
Trevor Buckner
4ce68b86ed
Fix hotkey printing on focused iframe
2024-05-23 17:09:03 -04:00
Trevor Buckner
24769d69d4
Force browser repaint after closing Print dialog
2024-05-23 17:08:24 -04:00
Trevor Buckner
a227a792c0
Replace print redirect with print contentWindow on all pages
2024-05-22 15:54:01 -04:00
Trevor Buckner
2453b623db
tweak names in editor.jsx
2024-05-21 17:45:50 -04:00
Trevor Buckner
783e88b5e6
Merge branch 'master' into pr/3477
2024-05-21 17:42:03 -04:00
Trevor Buckner
e62e185214
Lint a bunch of things
2024-05-21 17:32:17 -04:00
David Bolack
835ca0de32
WIP
2024-05-20 16:21:02 -05:00
David Bolack
bacdd65025
Add a CR.
2024-05-19 11:52:16 -05:00
David Bolack
86887b536e
Update Jump keys to match parent PR and shift live scrolling to scroll-lock.
...
Needs non-PC testing.
2024-05-19 11:16:50 -05:00
David Bolack
b7dc47fe9e
Add a Live Scroll lock/unlock below Brew/Source Jump buttons.
...
The button displays the *next* state of the toggle. IE, if the current state is locked ( Live scrolling is active ) the icon is unlock with a corresponding mouse-over.
It may be desirable to invert this.
2024-05-18 22:17:29 -05:00
David Bolack
8ece54701d
Add live scrolling to keep the preview in sync with editor position.
...
This catchs CTRL-HOME, CTRL-END, and mouseclicks.
It tests for changes on arrow keys and enter.
Not sure if it's the best way to do this, but it works quickly on a large, crappy brew.
2024-05-18 01:44:42 -05:00
David Bolack
9b0db15083
Add Jump To hotkeys
...
This binds CTRL/META-J to brewJump and SHIFT-CTRL/META-J to sourceJump.
2024-05-17 22:10:28 -05:00
Víctor Losada Hernández
b64c835706
Aparently it wasn't redundant as VSCode said
...
This reverts commit aef6605225 .
2024-05-17 22:38:54 +02:00
Víctor Losada Hernández
92e27cda6c
"Removed unused imports of 'classnames' and 'create-react-class' from various JSX files. in the Client folder"
2024-05-17 22:31:55 +02:00
Víctor Losada Hernández
aef6605225
Remove redundant snippetBar import from editor.jsx
2024-05-17 22:28:01 +02:00
Gazook89
7c9cc25923
update editor ref's in edit, home, and new pages.
2024-05-16 23:29:30 -05:00
Gazook89
78ce8aa6e3
remove unused ref attributes
...
from editPage, homePage, newPage, and printPage, as well as splitPane. The refs were declared, but never used.
2024-05-16 23:25:22 -05:00
Gazook89
46c14ef23b
fix refs in editor.jsx
...
now has refs `editorWrapper` and `editor`-- the former includes the snippet bar and codemirror editor, and the latter includes only the codemirror editor.
2024-05-16 23:12:10 -05:00
G.Ambatte
b4ee62a1bd
Merge branch 'master' into experimentalHTMLSanitization
2024-05-11 08:58:21 +12:00
Trevor Buckner
5a52e76ff0
Merge branch 'master' into EmojiSyntax
2024-05-08 11:01:15 -04:00
G.Ambatte
cdad9af453
Merge branch 'master' into experimentalHTMLSanitization
2024-05-08 23:30:49 +12:00
Víctor Losada Hernández
d3f1fde9d9
icon for edit link
2024-05-06 07:43:45 +02:00
Trevor Buckner
8cd4a58304
Merge branch 'master' into icons-for-share-dropdown
2024-05-05 21:43:12 -04:00
Víctor Losada Hernández
268d202562
initial commit
2024-05-06 00:32:38 +02:00
G.Ambatte
4e0ec75e58
Revert template.js changes for separate PR
2024-05-06 09:46:34 +12:00
G.Ambatte
1af989c4a3
Case insensitive matching
2024-05-06 07:27:22 +12:00
G.Ambatte
53480fdd5f
Merge branch 'master' into experimentalHTMLSanitization
2024-05-05 20:50:46 +12:00
G.Ambatte
ffa90c397c
Add script sanitization to template.js
2024-05-05 20:18:53 +12:00
Trevor Buckner
d695648d9b
Tweaks to Editor highlighting. Maybe still ugly.
2024-05-03 21:40:09 -04:00
Trevor Buckner
72160f5daf
missed one commit
2024-05-03 21:40:09 -04:00
Trevor Buckner
0751da42b6
Add emoji highlighting to editor
2024-05-03 21:40:08 -04:00
Víctor Losada Hernández
3c1f8804af
initial commit
2024-05-02 11:38:00 +02:00
Trevor Buckner
c0a8b79acc
Small tweak
2024-04-30 13:40:39 -04:00
G.Ambatte
eb0440d36d
Fix ID removal
2024-04-28 01:13:12 +12:00
G.Ambatte
cd82db16d5
Add DOMPurify config options
2024-04-28 00:49:03 +12:00
G.Ambatte
bdad601ebc
Remove now-obsolete sanitization function
2024-04-27 23:58:55 +12:00
G.Ambatte
97a74902ef
Add DOMPurify to BrewRenderer
2024-04-27 23:58:23 +12:00
Gazook89
52904eea09
add a comment
2024-04-13 20:47:38 -05:00
Gazook89
ff84ded547
Convert page to functional component
2024-04-13 11:10:43 -05:00
Gazook89
6220e4f63f
Remove unused defaultProps
...
The defaultProps are not used, and may be a relic of previous error page function.
2024-04-13 10:30:04 -05:00
Trevor Buckner
9f6fc3d1ac
Merge branch 'master' into scrollbar-new-fix
2024-04-09 18:38:07 -04:00
Trevor Buckner
f02a3d815a
Merge branch 'master' into add-share-link-to-error-pages
2024-04-09 15:24:23 -04:00