Gazook89
f13c16bb4f
add z-index to dropdown container.
...
also just format spacing on css rules
2022-03-13 20:40:41 -05:00
Trevor Buckner
e12579a2a2
Restore original image size, shift position to not cover text
2022-03-13 01:38:48 -05:00
Gazook89
a6ede58d8e
set dropdown items to appear *over* subsequent items
...
change navdropdown items to position:absolute; so they appear *over* the next metadata items, rather than pushing them down when dropdown is open.
2022-03-11 23:16:08 -06:00
Gazook89
3a82e2a24b
fix *suppdorted* typo
2022-03-11 23:11:27 -06:00
Gazook89
28d45b89e0
set mask-image blends to fixed points
...
fixed blend points allows for different sized metadata panel without inadvertently masking text.
2022-03-11 23:10:50 -06:00
Trevor Buckner
01087ca302
Add preview texture to dropdown options
2022-03-01 11:21:13 -05:00
Trevor Buckner
8e0629062d
Fully disable theme selection when in Legacy mode
...
Making Legacy a "theme" implies we will add more themes to Legacy, which we aren't planning to.
2022-03-01 00:34:19 -05:00
Trevor Buckner
f84e2c316f
DMG theme added
2022-01-21 00:27:52 -05:00
Trevor Buckner
65335162fc
Merge branch 'master' into SwappableThemes-ReorganizeFolderStructure
2022-01-10 21:58:21 -05:00
Trevor Buckner
94157ec4d4
Theme switches on click
2022-01-09 23:19:03 -05:00
Trevor Buckner
87bb682836
Add dropdown selector (not clickable yet)
2022-01-09 22:35:53 -05:00
Trevor Buckner
9f12e2748d
Swapping working. Splitting into separate JS bundles doesn't seem to work.
2022-01-02 23:54:48 -05:00
Trevor Buckner
183a8035dd
Initial file restructuring
2021-12-29 16:42:25 -05:00
Alexey Sachkov
78d4487c58
Fix linter errors
2021-12-29 21:30:03 +03:00
Alexey Sachkov
8a3f52b704
[NFC] Add display name for custom React components
...
This improves readability of "Components" tab from React Development Tools extension for Chrome
2021-12-29 21:18:54 +03:00
Charlie Humphreys
38d8764f15
Disable code folding in style tab, disable active line highlight and whitespace visibility
2021-12-20 00:42:53 -06:00
Charlie Humphreys
7d58ce6e00
Merge remote-tracking branch 'origin/random-fixes' into random-fixes
2021-12-15 20:14:17 -06:00
Charlie Humphreys
d4c5ac8110
Change div syntax in snippet to curly-brace v3 syntax
2021-12-15 20:14:07 -06:00
Trevor Buckner
e198a8931a
Merge branch 'master' into pr/1863
2021-12-15 01:07:25 -05:00
Charlie Humphreys
53fcdd8d7a
Prevent activeline class from being removed
2021-12-13 20:29:28 -06:00
Trevor Buckner
1bbacc974b
lint
2021-12-06 22:31:25 -05:00
Trevor Buckner
b6e29c8a61
Change to callback style
2021-12-06 22:30:58 -05:00
Trevor Buckner
09f64e018e
Tell CodeMirror to batch custom highlights before updating the browser
2021-12-06 16:23:18 -05:00
Trevor Buckner
8acd42fcbe
Small cleanup. Reduce redundant code.
2021-12-06 15:36:41 -05:00
Gazook89
dcf4fe10cd
lint
2021-12-03 20:25:04 -06:00
Gazook89
5cd45a1413
remove "in viewport" requirement for markdown highlight/pg numbers
2021-12-03 20:20:40 -06:00
Charlie Humphreys
85c221e9bd
Change counter usage in cover page snippet to no longer increment the counter on the cover page
2021-11-28 23:02:44 -06:00
Charlie Humphreys
640bc33719
Fix cover page snippet styles and formatting for v3
2021-11-28 22:17:02 -06:00
Gazook89
372d33271d
Change widgets to bookmarks for page counters
2021-11-21 15:17:23 -06:00
Gazook89
09f9e1d398
Merge branch 'master' into page-numbers-via-JS
2021-11-20 10:07:07 -06:00
Gazook89
f72d8f0ef0
merge pageNumber() into customHighlight()
2021-11-17 10:47:16 -06:00
Gazook89
f0608441fc
fix circleCI errors
2021-11-17 09:58:31 -06:00
Gazook89
8b13528661
add check for change to current viewport
2021-11-17 09:47:51 -06:00
Charlie Humphreys
2d30ac21a7
Update code based on PR feedback
...
#692
2021-11-11 17:08:05 -06:00
Gazook89
9f05aae876
remove left property entirely and set height to cm.defaultTextHeight
2021-11-10 11:17:45 -06:00
Charlie Humphreys
cac9e208df
Update editor.jsx to only clear marks that are not folds
...
#629
2021-11-10 10:27:32 -06:00
Gazook89
3e54f6e6e1
remove collection array from _.forEach() function
...
Co-authored-by: Trevor Buckner <calculuschild@gmail.com >
2021-11-08 10:49:41 -06:00
Gazook89
796bd22000
circleCI update
2021-11-08 09:07:59 -06:00
Gazook89
403e5050e8
adjust position from right to accommodate scrollbar
2021-11-08 09:05:08 -06:00
Gazook89
c3e24ef4c5
replace _.reduce() with _.forEach()
2021-11-08 08:59:30 -06:00
Gazook89
9141b93a6b
fix pageCountWidgets to get elements by correct class name
2021-11-07 16:47:54 -06:00
Gazook89
1fb63f8be3
initial commit to add programmatic page counts in editor
...
update element classname to be more descriptive, remove some commented code.
2021-11-07 16:33:50 -06:00
Trevor Buckner
47b99a24fb
Clear out unneeded style when editor is hidden in Metadata panel
2021-10-24 16:46:46 -04:00
Trevor Buckner
63d659ff49
use CodeMirror Documents
...
Instead of re-building the whole editor box with every tab switch, we just swap in and out CodeMirror "documents".
Maintains undo history, scroll position, highlight coloring, etc.
2021-10-19 23:49:11 -04:00
G.Ambatte
f33cd39300
Add conditional highlighting to Undo/Redo
2021-10-18 22:29:27 +13:00
G.Ambatte
8983960ca8
Add divider and tool active class
2021-10-18 22:29:27 +13:00
G.Ambatte
9dd885e7eb
Move Undo/Redo to SnippetBar
2021-10-18 22:29:26 +13:00
G.Ambatte
9bc52b412c
Initial pass at Editor Toolbar - Undo and Redo.
2021-10-18 22:29:25 +13:00
Gazook89
45101b7c09
Add Share to Reddit and Copy Share URL to Share Menu
2021-10-04 16:34:40 -05:00
Trevor Buckner
d9893e29ff
Update client/homebrew/editor/snippetbar/snippets/snippets.js
2021-09-30 21:06:25 -04:00