Trevor Buckner
8d479b8cd1
Lint whitespace changes
2024-09-16 01:42:44 -04:00
Trevor Buckner
63675a46e0
Lint more things
2024-09-16 01:42:21 -04:00
Trevor Buckner
d4fa5d55d0
Merge branch 'master' into pr/3484
2024-09-14 19:15:12 -04:00
Trevor Buckner
26a126859d
Lint
2024-09-14 19:02:55 -04:00
Trevor Buckner
5c2acf3183
Let Editor pass changes up and inherit values down
2024-09-14 18:52:13 -04:00
Trevor Buckner
e5ab223571
Better line position (viewport has some margin)
2024-09-10 01:25:26 -04:00
Trevor Buckner
45a9501459
Jump based on scroll position, not cursor position
2024-09-10 01:11:28 -04:00
Trevor Buckner
ec74b994d7
Simplify scroll event for source editor using lodash Throttle
2024-09-10 00:43:44 -04:00
Trevor Buckner
b5155ed256
remove unused variable
2024-09-09 23:40:06 -04:00
Trevor Buckner
315296458a
Remove setting button styles in componentDidMount
...
Just set the state, and the renderer will know what to display.
2024-09-09 23:39:29 -04:00
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