Víctor Losada Hernández
69b2bfb0b9
Merge branch 'master' into fix-CM-bugs
2026-05-05 14:18:01 +02:00
Trevor Buckner
b75c83901b
Merge branch 'fix-save-on-load' of https://github.com/5e-Cleric/homebrewery into pr/4772
2026-05-04 16:01:43 -04:00
Trevor Buckner
339d2844a7
Change logic to fire on button click, rather than on state change
...
Ideally side effects (server calls, etc.) should happen outside of useEffect anyway for reasons like this; Putting the save in the button click keeps the logic in one place instead of spread across multiple functions and renders,
(This change was already made in my local copy toward combining Edit/New/Home pages.)
2026-05-04 16:01:39 -04:00
Trevor Buckner
614d9fd7b3
Merge branch 'master' into fix-save-on-load
2026-05-04 11:50:13 -04:00
Víctor Losada Hernández
9f6e03fd80
add strikethrough highlight
2026-05-04 16:24:41 +02:00
Víctor Losada Hernández
43c9f35f3c
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-CM-bugs
2026-05-04 16:16:02 +02:00
Víctor Losada Hernández
80093a1998
remove console.log
2026-05-04 16:13:15 +02:00
Víctor Losada Hernández
479834cea8
Merge branch 'master' into Tweak-Injection-highlighting
2026-05-04 16:09:30 +02:00
Víctor Losada Hernández
60b5f6bac2
fix tab insert
2026-05-04 16:06:53 +02:00
Víctor Losada Hernández
41ea3ba987
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-CM-bugs
2026-05-04 16:03:26 +02:00
Víctor Losada Hernández
6e39a70706
lint
2026-05-04 16:03:07 +02:00
Víctor Losada Hernández
102d1f4186
restore folds when changing tab
2026-05-04 16:02:15 +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
Gazook89
a34a5d187b
Fix issue with closing brace not highlighting
2026-05-02 15:36:56 -05:00
Gazook89
00efbb7244
fix state variable themeSelector
2026-04-26 21:09:18 -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
19106f89a8
Merge branch 'master' into feature/copy-url-with-page
2026-04-24 09:54:25 +02: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
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
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
Víctor Losada Hernández
0621efe674
last fixes i think
2026-04-14 18:31:44 +02:00
Víctor Losada Hernández
326fc63f19
small changes
2026-04-14 00:12:18 +02:00
Víctor Losada Hernández
62814e5d67
pagemap rename
2026-04-14 00:06:49 +02:00
Víctor Losada Hernández
9e72fad9e4
small changes
2026-04-13 23:29:40 +02:00
Víctor Losada Hernández
cac458cb00
fix deflist highlight
2026-04-13 18:01:47 +02:00
Víctor Losada Hernández
6d69961d7a
lint
2026-04-13 17:52:03 +02:00
Víctor Losada Hernández
150c9de6fb
fix snippets
2026-04-13 17:50:52 +02:00
Víctor Losada Hernández
6c51e6b711
fix focus on tab change
2026-04-13 17:36:47 +02:00
Víctor Losada Hernández
de9df7d257
lint
2026-04-13 17:27:09 +02:00
Víctor Losada Hernández
0208550ca3
fix tab indent issue
2026-04-13 17:27:06 +02:00