0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-04 12:32:39 +00:00
Commit Graph

120 Commits

Author SHA1 Message Date
Víctor Losada Hernández
acbdd1b801 "Removed iframe parameter from scrollToPage and getPageContainingElement functions, instead getting iframe element by id 'BrewRenderer' inside the functions." 2024-05-31 17:13:29 +02:00
Víctor Losada Hernández
d012a09346 "Refactor BrewRenderer: updated iframe handling and scrolling logic in useEffect and scrollToPage function" 2024-05-31 17:06:47 +02:00
Víctor Losada Hernández
3cca38302a "Refactor BrewRenderer component: removed unnecessary code, reorganized useEffect hooks, and simplified getPageContainingElement function." 2024-05-31 17:00:03 +02:00
Víctor Losada Hernández
f9352a94c6 "Refactor BrewRenderer: simplify URL param extraction, remove iframe existence checks, and update scrollIntoView behavior" 2024-05-31 16:47:17 +02:00
Víctor Losada Hernández
1add97b1b2 scrolls to page 100 ms after page load 2024-05-31 16:38:08 +02: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
ac3168e365 Move "printPage()" to helpers.js for reuse in multiple pages 2024-05-24 19:28:02 -04:00
Trevor Buckner
4ce68b86ed Fix hotkey printing on focused iframe 2024-05-23 17:09:03 -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
Trevor Buckner
c871548877 Merge branch 'master' into type-fix-for-stylesheet-import-in-html 2024-03-06 12:53:04 -05:00
Víctor Losada Hernández
f21eaab997 Merge branch 'master' into type-fix-for-stylesheet-import-in-html 2024-02-23 20:19:58 +01:00
Víctor Losada Hernández
b1a3fcf33c Merge branch 'master' into FA-upgrade 2024-02-23 20:18:50 +01:00
G.Ambatte
2c02d4174f Fix sanitizeScriptTags when content is null 2024-02-22 17:06:02 +13:00
Trevor Buckner
e3bf913a80 lint 2024-02-20 23:00:57 -05:00
Trevor Buckner
7bb1f16946 Always render currently-edited page first, so variables update across pages properly 2024-02-20 22:56:37 -05:00
Trevor Buckner
1491a1b4ff Fix Math assignments 2024-02-12 11:54:28 -05:00
Víctor Losada Hernández
26a41e6262 FA to 6.5.1 2024-02-08 11:33:11 +01:00
Víctor Losada Hernández
f1c3507a9f initial commit 2024-01-31 15:45:27 +01:00
Víctor Losada Hernández
79e8dfec18 Merge branch 'master' into GlobalReflinks 2024-01-18 16:55:21 +01:00
Trevor Buckner
42c1bece65 Also edit currently selected page 2024-01-09 22:19:09 -05:00
Trevor Buckner
448c12cc91 Truncate extra pages when page count is edited. 2024-01-09 17:10:03 -05:00
Trevor Buckner
4dd58aaad3 Ugly ugly initial commit 2023-12-21 17:13:13 -05:00
Trevor Buckner
39e33da2d1 Cleanup 2023-12-04 14:46:51 -05:00
Trevor Buckner
3073b3e35d Convert BrewRenderer to function, PPR always on 2023-11-30 23:52:42 -05:00
Trevor Buckner
93a7b11017 Simplify "BrewPage" into Functional Component 2023-11-25 23:23:39 -05:00
Trevor Buckner
045fbbe158 lint 2023-11-24 01:36:04 -05:00
Trevor Buckner
ede731e3a5 Add "BrewPage" component which updates only when needed 2023-11-24 01:35:06 -05:00
G.Ambatte
32417e92ff Fix Markdown render parameter 2023-08-12 14:27:34 +12:00
Trevor Buckner
bd0ef5da48 Merge pull request #2406 from G-Ambatte/addStyleSanitization-#1437
Add sanitization of Style content
2023-07-08 02:23:56 -04:00
G.Ambatte
0d44e1778f Emit click event when iFrame clicked 2023-07-05 15:48:54 +12:00
G.Ambatte
b472fc1115 Move script tag sanitization to BrewRenderer 2023-06-17 20:25:15 +12:00
G.Ambatte
a7a47afaae Merge branch 'master' into addStyleSanitization-#1437 2023-06-17 20:09:45 +12:00
Gazook89
29f8f3546c Merge branch 'master' into Language-Attribute 2023-03-07 21:23:23 -06:00
Trevor Buckner
767f03fba0 Disable @layers for now
@Layers have too many conflicts with custom CSS styling. Delay until V4 renderer.
2023-02-21 15:36:01 -05:00
Trevor Buckner
3c551daf16 Fix print page 2023-01-27 15:16:16 -05:00
Trevor Buckner
a22d59475e Try @Layers to not need .page in user style 2023-01-13 17:08:12 -05:00
Gazook89
8ca44653e9 use 'en' as default if no entry in input 2022-10-23 22:33:22 -05:00
Gazook89
2d3b03a9c3 basically the whole thing 2022-10-23 13:11:12 -05:00
Gazook89
af094474b8 flailing around. 2022-10-21 12:01:19 -05:00
Gazook89
d92d00581a Merge branch 'master' into Language-Attribute 2022-10-20 12:40:49 -05:00
G.Ambatte
8e26161244 Add sanitization of Style content 2022-09-28 17:27:11 +13:00
Gazook89
4dc1a60934 add lang property to brewRender and metadataEditor 2022-09-21 13:25:40 -05:00
Gazook89
90a65d0a57 Add renderer to pageInfo 2022-09-21 11:37:14 -05:00
Gazook89
38dccbae09 change 'effect' to 'affect' 2022-09-20 12:19:27 -05:00
Trevor Buckner
eae5fc9be9 Hide themes behind flag "enable_themes" 2022-09-05 17:05:37 -04:00
Trevor Buckner
fd64215298 Make blank theme load by default behind all themes 2022-08-07 00:37:47 -04:00