0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 02:32:37 +00:00
Commit Graph

603 Commits

Author SHA1 Message Date
Trevor Buckner
0fbb4879a9 Set button appearance based on state
Avoid manually editing the DOM elements. Let the Render function update the appearance based on state.
2024-09-09 23:35:18 -04:00
Trevor Buckner
51c8973a85 Move onClick from the lock icon to the whole button 2024-09-09 23:29:10 -04:00
Trevor Buckner
707b90e445 Merge branch 'master' into pr/3484 2024-09-09 23:22:00 -04:00
David Bolack
1e9c7423c7 Fix "clicked on the toggle ring" crash with scroll lock.
The code was doing dom-climbing math based on clicking on the div contents but was attached to the div. Moved the onClick to the contents.
2024-09-07 22:36:27 -05:00
David Bolack
fa74fb4ada Update tooltips for locking. 2024-09-07 21:38:07 -05:00
Víctor Losada Hernández
e5f6d28abd fixing it once and for all 2024-09-07 22:37:22 +02:00
Trevor Buckner
b124e55b3d Merge branch 'master' into Issue_241_Part_II 2024-09-06 23:51:14 -04:00
Víctor Losada Hernández
20db8c6720 restore missing state 2024-09-04 23:57:44 +02:00
Trevor Buckner
c735ab7c35 Fix crash on metaData tab
Hiding the `moveBrew` etc. properties when `this.state.showMoveArrows == false` means when the `metaData` tab turns off the arrows it crashes because now some functions are undefined.

Just using a whole separate property to avoid conflict.
2024-09-04 15:50:32 -04:00
Víctor Losada Hernández
29d4003bd2 fix splitpane errors 2024-09-04 09:37:35 +02:00
Víctor Losada Hernández
c7f695e86a Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development 2024-08-31 19:21:06 +02:00
David Bolack
82f2d0254f Merge branch 'master' into Issue_241_Part_II
Clean up a small bit of linting in the pr related functions.
2024-08-31 11:11:22 -05:00
Trevor Buckner
804d714473 Add regex to detect when to interrupt a table 2024-08-29 00:20:47 -04:00
David Bolack
a4f30d687d Merge branch 'master' into Issue_241_Part_II 2024-08-28 21:17:10 -05:00
David Bolack
f24e47785c Merge branch 'master' into Issue_241_Part_II 2024-08-24 00:48:52 -05:00
David Bolack
e27e61aaca Bind livescrolling when done via scrollbars. 2024-08-24 00:47:06 -05:00
Víctor Losada Hernández
5e69718f4f Merge branch 'master' into imageWrappin 2024-08-23 23:30:37 +02:00
Víctor Losada Hernández
987d1c881b Merge branch 'master' of https://github.com/naturalcrit/homebrewery into Issue_1430_Unique_HeaderIDs 2024-08-23 23:08:20 +02:00
Trevor Buckner
fc294807fd Merge branch 'master' into imageWrappin 2024-08-22 22:10:11 -04:00
Trevor Buckner
eeedc5f7d4 Merge branch 'master' into preservePREColons 2024-08-22 21:53:16 -04:00
Trevor Buckner
fff357d08b Make 'block-level' extension. Tweaks to pass new tests
'block-level' because it never occurs inside another block ('inline-level' always occurs inside something else); starts and stops on on its own line without anything else on the same line.
2024-08-22 21:52:40 -04:00
Trevor Buckner
696bcd4367 Expose src url in --HB_src
Decided to do this for *all* images, not just those being injected. In case someone wants to automatically apply wrapping to images inside a stat block, etc.
2024-08-22 12:46:56 -04:00
Trevor Buckner
645c9a122c Update cleanURL helper function to match later Marked version 2024-08-22 11:51:24 -04:00
David Bolack
1c03138968 Merge branch 'master' into Issue_1430_Unique_HeaderIDs 2024-08-21 21:23:09 -05:00
David Bolack
1313772adc Merge branch 'master' into preservePREColons 2024-08-21 21:21:06 -05:00
David Bolack
5431d3ed9b Merge branch 'master' into Issue_241_Part_II 2024-08-21 21:03:26 -05:00
David Bolack
e957f40775 Revert previous simplification as it breaks the original purpose of this PR
Added test for inside a code block.
2024-08-20 12:17:51 -05:00
David Bolack
3985afade9 Remove need for Definition exceptios
Retool original `:` break to insert `\n\n`s between each `:` so that
the definition lists never have a chance for a mismatch.

Rename token to "hardbreak"
Add tests for hardBreaks for `:`, `::`, and `:::` which should verify it works and does not collide with definitionlists.
2024-08-20 11:46:43 -05:00
David Bolack
3a81521e6f Work around users using Definition lists as paragraph indents. 2024-08-19 19:40:55 -05:00
David Bolack
a30608a8ae Promote : paragraph breaks shortcut to a token. 2024-08-19 10:36:26 -05:00
David Bolack
184f182b3a Short term fix for the colons in codeblocks issue. 2024-08-18 21:52:29 -05:00
David Bolack
52faa366ca Merge branch 'master' into Issue_1430_Unique_HeaderIDs 2024-08-13 12:30:16 -05:00
David Bolack
2d781f02e3 Merge branch 'master' into Issue_241_Part_II 2024-08-13 12:26:29 -05:00
David Bolack
1ed7e43db1 Implement G-Ambette's cleaner fix. 2024-08-13 12:09:45 -05:00
Víctor Losada Hernández
e4852b7077 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development 2024-08-13 00:47:25 +02:00
Trevor Buckner
5894dc5a7a Merge branch 'master' into fixVarNameAsParam-#3622 2024-08-11 21:59:58 -04:00
Víctor Losada Hernández
59672b79d8 remove unnecessary changes in unrelated files 2024-08-10 00:05:58 +02:00
G.Ambatte
1719cc68fa Merge branch 'master' into fixVarNameAsParam-#3622 2024-08-10 08:23:23 +12:00
G.Ambatte
f58d52c4b6 Add comma to var math split regex 2024-08-10 07:54:50 +12:00
Víctor Losada Hernández
a8a4930225 Merge branch 'experimental-development' of https://github.com/5e-Cleric/homebrewery; branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development 2024-08-09 18:54:51 +02:00
G.Ambatte
c3e6c01ec1 Fix typo in regex 2024-08-09 15:33:28 +12:00
G.Ambatte
5bb5cdec05 Change replaceAll to use RegEx from string 2024-08-09 13:10:30 +12:00
Trevor Buckner
f1fd75574d Merge branch 'master' into CSSFolding 2024-08-08 17:51:05 -04:00
Trevor Buckner
31352e417f Simplify folding logic 2024-08-08 17:48:32 -04:00
Trevor Buckner
643af98ca3 Add comment 2024-08-08 17:44:16 -04:00
Trevor Buckner
3b61cd355f Fix edge case where string was emitting data: twice.
Also, a case where the input is right around 50 chars. It can be truncated twice, leading to a long `.....`
2024-08-08 17:43:57 -04:00
G.Ambatte
1b71bbaefb Remove escaping from new functions 2024-08-03 10:32:39 +12:00
G.Ambatte
fcd5279381 Enable built-in abs() 2024-08-03 10:32:18 +12:00
David Bolack
423a4a521a Correct truncation when looking for data: in css folding 2024-08-02 15:25:41 -05:00
David Bolack
05d4d5b1ff Revert "Correct truncation when looking for data: in css folding"
This reverts commit ad1e8d50d7.
2024-08-02 15:25:10 -05:00