Víctor Losada Hernández
e2256be4aa
Merge pull request #4785 from 5e-Cleric/fix-page-count-regex
...
Fix page count regex
2026-05-04 00:47:42 +02:00
Víctor Losada Hernández
65d1106974
this should fix it
2026-05-04 00:42:10 +02:00
Víctor Losada Hernández
72465317f3
store scroll positions
2026-05-04 00:31:43 +02:00
Víctor Losada Hernández
4edae9ef5a
some cleanup
2026-05-03 18:01:37 +02:00
Víctor Losada Hernández
6faca50a19
simplify
2026-05-03 18:00:15 +02:00
Víctor Losada Hernández
d758fc2d20
fix scroll to page not working after switching editors
2026-05-03 17:53:09 +02:00
Víctor Losada Hernández
f1bbac6583
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-CM-bugs
2026-05-03 17:18:34 +02:00
Gazook89
a34a5d187b
Fix issue with closing brace not highlighting
2026-05-02 15:36:56 -05:00
Gazook89
34d634a349
Fix font snippet "Open Sans"
...
Previously it was using 'OpenSans' as the font name, when it's actually 'Open Sans'.
2026-05-01 15:17:30 -05:00
Gazook89
137b6bc690
remove unused 300 & 600 font weights
...
Only 400 and "800" are used in the codebase for Open Sans. And, we've only ever had up to 700 as available weights, so everything that is set to "800" is actually getting weight 700 (which looks better).
2026-05-01 11:03:52 -05:00
Gazook89
d3566d896b
Move Code Bold/Light to fonts directory
2026-04-30 22:28:56 -05:00
Gazook89
e34c5f9b32
Add font files, remove google fonts references
...
Adds a `shared/naturalcrit/styles/fonts` directory, and Open Sans font files for the 4 weights we were pulling from Google Fonts.
2026-04-30 22:28:04 -05:00
Gazook89
9935f54080
Update variables.test.js
2026-04-30 21:11:33 -05:00
Gazook89
9af2577c6e
Add print cycle events and loading msg
...
Since the print cycle now loads all images not-yet-loaded (due to lazy loading), there can be a moment of time where it appears pressing Get PDF is doing nothing, depending on connection speed. To add a "loading" message, a custom event is fired at the start and end of the print cycle (before the print dialog comes up).
2026-04-30 21:05:08 -05:00
Gazook89
d04f401c90
Fix lazy loading Print issues
...
When initiating the print dialog, it first grabs all img elements with `loading="lazy"` attribute, flips that to `eager`, and then waits for every image to load before resolving a promise and opening the Print dialog.
2026-04-29 23:38:37 -05:00
Gazook89
a973a5db0d
Update mustache-syntax.test.js
2026-04-28 22:51:27 -05:00
Gazook89
a2e5688ede
Add lazy loading to images
2026-04-28 22:21:35 -05:00
Víctor Losada Hernández
5426aa82c1
Merge pull request #4773 from Gazook89/Close-Theme-Selector-on-Selection
...
Close Theme Selector on Selection
2026-04-27 11:45:48 +02:00
Gazook89
00efbb7244
fix state variable themeSelector
2026-04-26 21:09:18 -05:00
David Bolack
cf9276540c
Merge branch 'master' of github.com:naturalcrit/homebrewery
2026-04-25 13:24:38 -05:00
Víctor Losada Hernández
adfb9a2128
remove log on themes
2026-04-25 18:26:28 +02:00
Víctor Losada Hernández
59fc123f7d
remove log
2026-04-25 18:25:41 +02:00
Víctor Losada Hernández
ce2406992a
fix save on load
2026-04-25 18:22:44 +02:00
Víctor Losada Hernández
8872adfd95
make sure tall images fit
2026-04-24 13:18:18 +02:00
Víctor Losada Hernández
fac3ef15fa
format
2026-04-24 12:42:14 +02:00
Víctor Losada Hernández
0587266e22
repair injection highlight and add image previews
2026-04-24 12:34:16 +02:00
Víctor Losada Hernández
cb4bc16c69
move codemirror extensions into their own folder
2026-04-24 10:17:28 +02:00
Víctor Losada Hernández
c12bdcd042
Merge pull request #4752 from Frederlk/feature/copy-url-with-page
...
Add "copy url (page N)" share option in edit and share views
2026-04-24 09:57:31 +02:00
Víctor Losada Hernández
19106f89a8
Merge branch 'master' into feature/copy-url-with-page
2026-04-24 09:54:25 +02:00
Víctor Losada Hernández
0323d4d2f6
Merge pull request #4765 from naturalcrit/add-cm-themes
...
update codemirror themes
2026-04-24 01:08:34 +02:00
Víctor Losada Hernández
cadf9ca63b
update codemirror themes
2026-04-24 01:05:29 +02:00
Víctor Losada Hernández
b18fb337b5
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-CM-bugs
2026-04-23 21:39:25 +02:00
Trevor Buckner
21bca02eee
Merge pull request #4764 from naturalcrit/Fix-Colons-break-highlighting
...
Fix multiline Definition List highlight breaking
2026-04-23 14:39:32 -04:00
Trevor Buckner
4fee82d3b7
Simplify regex, fix crash on empty desc.length, only highlight if there is a Term line with content
2026-04-23 14:36:55 -04:00
Trevor Buckner
c341e8ffdc
Merge pull request #4763 from naturalcrit/Fix-bold/italic-hotkey-selection
...
Make common "wrapSelected" function
2026-04-23 13:04:52 -04:00
Trevor Buckner
1cd4a69854
Make common "wrapSelected" function
2026-04-23 13:00:32 -04:00
Trevor Buckner
fa487ede6e
Merge pull request #4757 from naturalcrit/fix-CM-bugs
...
Fix codemirror bugs 2 (they just keep coming)
2026-04-22 21:34:17 -04:00
Víctor Losada Hernández
889b5de9c6
update themes
2026-04-22 19:30:49 +02:00
Víctor Losada Hernández
7139993e15
repair shortcuts to put the cursor at the center if there is no selection
2026-04-22 17:32:26 +02:00
Víctor Losada Hernández
f863871173
move darkvision to library, and sort themes
2026-04-22 17:05:17 +02:00
Víctor Losada Hernández
49e4f0a597
css reordering
2026-04-22 12:34:50 +02:00
Trevor Buckner
2f49ef0f62
Merge pull request #4750 from naturalcrit/add-cm-themes
...
add back cm5-themes
2026-04-21 20:43:38 -04:00
Víctor Losada Hernández
93ce778c0d
fix tests and update library
2026-04-22 01:29:37 +02:00
Víctor Losada Hernández
db82bd8123
fix darkbrewery
2026-04-22 01:26:34 +02:00
Víctor Losada Hernández
0f5404fef8
lock sync
2026-04-22 01:19:28 +02:00
Víctor Losada Hernández
5c675fe04a
update themes
2026-04-22 01:09:48 +02:00
Víctor Losada Hernández
e0ee22a8df
add important
2026-04-22 00:49:42 +02:00
Víctor Losada Hernández
649f606a0e
lets try this
2026-04-22 00:46:12 +02:00
Víctor Losada Hernández
a46c776398
proper selection highlight
2026-04-22 00:38:57 +02:00
Víctor Losada Hernández
7d19c4bcd7
fix cm error
2026-04-22 00:03:29 +02:00