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
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
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
00efbb7244
fix state variable themeSelector
2026-04-26 21:09:18 -05:00
Gazook89
d368e53b30
add some comments
2026-04-26 10:44:52 -05:00
Gazook89
5b11827c56
fix disabled attribute
2026-04-25 23:33:04 -05:00
Gazook89
4d3179fc35
remove unused less file
2026-04-25 23:32:48 -05:00
Gazook89
d686c78fdf
fix oddbird polyfill so custom properties are used correctly
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-25 22:16:25 -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
Gazook89
359d87440b
add oddbird polyfill - not quite working
...
Not quite working yet. polyfill is loaded, but positioned elements are spanning whole viewport. Parking this for now.
2026-04-24 22:06:52 -05:00
Gazook89
87ed5d107d
add jsdoc documentation.
2026-04-24 20:32:05 -05:00
Gazook89
c0c4db95a4
remove id attribute from component
2026-04-24 10:19:16 -05: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
19106f89a8
Merge branch 'master' into feature/copy-url-with-page
2026-04-24 09:54:25 +02:00
Gazook89
285522d820
all snippet buttons are actually buttons now
2026-04-23 22:56:29 -05:00
Gazook89
904b14af19
icons in triggers and menus are aligned.
2026-04-23 22:52:39 -05:00
Gazook89
0c78a23c76
remove testing menu
2026-04-23 22:28:21 -05:00
Gazook89
992b72ee6f
empty menus styled as disabled
2026-04-23 22:17:52 -05:00
Gazook89
8bebbdac5d
restore styling to work with new structure.
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-23 22:10:51 -05: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
1cd4a69854
Make common "wrapSelected" function
2026-04-23 13:00:32 -04:00
Gazook89
4f953da0fe
caret menu indicators work, point correct direction
2026-04-23 10:54:27 -05:00
Gazook89
3b6c7acdbf
snippet submenu triggers don't fire events onclick
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-23 10:42:58 -05:00
Gazook89
2232d5265f
Add basic nesting dropdown component
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-23 10:21:52 -05: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
Víctor Losada Hernández
7d19c4bcd7
fix cm error
2026-04-22 00:03:29 +02:00
Víctor Losada Hernández
f59d8f9b05
add back things we had
2026-04-21 23:57:32 +02:00
Víctor Losada Hernández
a253e5d85a
restore two keybinds
2026-04-21 23:50:28 +02:00
Víctor Losada Hernández
cd946bffaf
remove old cm themes library
2026-04-21 23:19:02 +02:00
Petrinich Sergey
899737b558
use fa-hashtag icon for copy-url-with-page item
2026-04-21 23:01:24 +03:00
Petrinich Sergey
01b3d91232
add copy-url-with-page to share/edit pages
...
Adds a "copy url (page N)" option to the Share dropdown (edit page) and
the source dropdown (share page). Copies a URL with a #pN hash anchor.
The existing scrollToHash handler in brewRenderer already navigates to
the correct page when the URL is opened.
2026-04-21 22:54:09 +03:00
Víctor Losada Hernández
0ed772b054
add back cm5-themes
2026-04-21 20:50:04 +02:00
Víctor Losada Hernández
710ddbdd38
foldAll now folds pages only
2026-04-20 23:02:02 +02:00
Víctor Losada Hernández
c856439191
fix newpage keybind
2026-04-20 21:54:11 +02:00
David Bolack
88c36fc287
Merge branch 'master' into preloadVars
2026-04-20 14:05:12 -05:00
David Bolack
7b1a7beedf
Merge branch 'master' of github.com:naturalcrit/homebrewery
2026-04-20 14:04:32 -05:00
David Bolack
59cdfcb19e
Rework "force" to attempt to find variable references and only force those pages
2026-04-19 14:34:30 -05:00
David Bolack
2a997404e3
A plausible fix for the hoisting issue
...
I don't know if it's the *best* fix.
2026-04-19 14:24:27 -05:00
Trevor Buckner
ef207c3936
Fix "onbeforeunload not a function"
...
should be window.onbeforeunload = xyz. However in this case, it's not needed anyway since we are only adding the event listener once on page load, which already gets cleared when you reload the page.
2026-04-19 15:18:31 -04:00
Trevor Buckner
a1624dc649
Merge branch 'master' into update-Codemirror
2026-04-19 11:56:51 -04:00
Víctor Losada Hernández
98749ed3e0
lint pass
2026-04-15 10:28:28 +02:00