Gazook89
3063337eb2
update v3 drop cap tweak to match new styling
...
and change v3 drop cap to use only `background` rather than `background-image` so that the tweak snippet can easily change between gradient and just a regular color.
and re-order table menu so that the regular table snippet is at top.
2021-09-05 15:40:08 -05:00
Gazook89
cf5a1cee24
Merge remote-tracking branch 'upstream/master' into Style-Editor-Menu-and-comments
2021-09-05 15:11:58 -05:00
Trevor Buckner
0610c9fe98
fix injecting images putting the cursor midway into the next line of text.
2021-09-01 14:54:52 -04:00
Trevor Buckner
1770323690
Remove standalone snippet; include in classTable snippets
2021-09-01 13:37:07 -04:00
Trevor Buckner
59fd2454a4
Make images local, change snippet to allow color instead of hue-rotate
2021-08-31 23:57:08 -04:00
Trevor Buckner
1abd151c67
Merge branch 'master' into pr/1549
2021-08-31 16:45:14 -04:00
Trevor Buckner
2f9c08ac49
Merge pull request #1544 from Gazook89/ClassTable-Revisions
...
Class table revisions - 1/3 Table, minor fixes
2021-08-31 16:42:28 -04:00
Trevor Buckner
f5057119da
Shrink tables width
2021-08-31 16:39:13 -04:00
Trevor Buckner
1a71ba0eb2
Force \page on V3 to be alone on line.
2021-08-31 12:08:31 -04:00
Trevor Buckner
e14c8c5e91
Lint
2021-08-31 12:03:59 -04:00
Trevor Buckner
13ba5ebcc8
Fix snippets crashing in empty brew
...
If this.props.brew.text is an empty string, it will evaluate to `false` and, but since `isStyle()` is also false, `text` is just undefined.
2021-08-31 11:56:48 -04:00
Trevor Buckner
539b52ecbd
Merge pull request #1594 from G-Ambatte/fixHandleInject-#1593
...
Handle `brew.style` being `undefined` when injecting snippets.
2021-08-27 19:35:05 -04:00
G.Ambatte
04b2421793
Update client/homebrew/editor/editor.jsx
...
Co-authored-by: Trevor Buckner <calculuschild@gmail.com >
2021-08-28 11:03:47 +12:00
Trevor Buckner
e5cfa98bbd
Shorten Features column to match shorter names
2021-08-27 12:30:57 -04:00
Trevor Buckner
9d5130154b
Remixed Feature names to be shorter.
2021-08-27 12:29:11 -04:00
Gazook89
b4825e085e
fix table snippet spacing in editor
2021-08-27 10:40:40 -05:00
Trevor Buckner
4ce915100b
Merge pull request #1591 from Gazook89/fix-ink-friendly-snippet
...
minor fix for ink-friendly legacy snippet
2021-08-27 09:36:47 -04:00
Gazook89
dc65980dcb
pull drawSlots out of individual functions
2021-08-26 12:51:36 -05:00
G.Ambatte
31c348baff
Handle brew.style being undefined when inject snippets.
2021-08-21 11:37:01 +12:00
Gazook89
043ade6e34
minor fix for ink-friendly legacy snippet
2021-08-20 10:36:28 -05:00
Gazook89
0db37bc204
Update editor.less for .pageLine
...
Change the .pageLine (page break) border from bottom to top, since any text on the same line is part of the following page rather than the preceding page.
2021-08-17 19:47:23 -05:00
Gazook89
bc7911b0bc
Add Watermark snippet
2021-08-17 16:04:59 -05:00
Gazook89
bd368c4c64
add 'view' property
...
[minor fix] fix missing apostrophe
2021-08-17 12:46:22 -05:00
Gazook89
5c46ecbebd
Merge branch 'master' into ClassTable-Revisions
2021-08-16 13:35:07 -05:00
Gazook89
f993a7022c
Merge branch 'master' into Images-Snippet-Menu
2021-08-16 13:30:28 -05:00
Gazook89
0d2624bf3b
Merge branch 'master' into metadata-panel-css-tweak
2021-08-16 13:30:07 -05:00
Trevor Buckner
64b62c5e98
Merge pull request #1575 from naturalcrit/v3WelcomePage
...
V3 welcome page
2021-08-16 10:17:45 -04:00
Trevor Buckner
425d03f6b5
Link in metadata panel
2021-08-16 10:16:25 -04:00
Trevor Buckner
ec92a0307b
Merge pull request #1562 from Gazook89/Page-Snippet-Menu
...
Editor-Specific Snippet Groups, and Print Snippet Menu Changes
2021-08-15 00:45:47 -04:00
Trevor Buckner
edce4e5bbc
Refactoring switching logic, formatting LESS
2021-08-15 00:45:01 -04:00
Gazook89
a7e6d0a513
Update metadataEditor.less "small" text
2021-08-14 23:34:12 -05:00
Gazook89
2874bcc5f7
Merge branch 'master' into Images-Snippet-Menu
2021-08-14 22:51:40 -05:00
Trevor Buckner
8f7d6a3eb5
Update color, snippet positioning, added into v3 Image and BackgroundImage
2021-08-14 23:21:13 -04:00
Gazook89
4653fcd782
Remove reference to hotkeys in Style Comments
...
Removed reference to hotkeys for commenting in the Style Editor since that is not implemented yet. can be added back to match the Text Editor commenting snippet once implemented.
2021-08-14 20:24:51 -05:00
Gazook89
84698aa68f
Match changes in commit 143d390 to Legacy
...
Matching legacy to v3 (adds another menu to style editor, etc).
2021-08-14 20:18:11 -05:00
Gazook89
143d390895
Add "Style Editor" menu to Style pane
...
And other tweaks:
- Move drop caps snippets to Style Editor menu
- retitle Editor menu to either Text Editor or Style Editor
- minor: removed old unnecessary comments in code from earlier (my own).
- Removed leading spaces on drop cap comment
- added drop cap comment on "remove drop caps" snippet.
2021-08-14 20:16:33 -05:00
Gazook89
88c485ffe5
circleCI fix
...
hopefully last one..
circleCI fixes
circleCI fixes
2021-08-12 21:23:21 -05:00
Gazook89
562bf6d4ac
Fix to snippets.js both legacy and v3 for CircleCI
2021-08-12 07:45:00 -05:00
Gazook89
807f865d8b
Match Legacy snippets to v3, remove <style> from style snippets
...
- Matched the Legacy snippets to v3, with appropriate syntax.
- Small adjustments to Ink Friendly snippet (retains images, reduces drop shadows, sets more backgrounds to White)
- Adds commented snippet 'titles' for Page snippets
2021-08-12 07:42:08 -05:00
Gazook89
50c07a5c8e
Change 'print' to 'page' on Legacy snippet.js
...
Tiny fix to change "Print" menu to "Page" menu on Legacy.
2021-08-12 07:00:51 -05:00
Gazook89
3545bdc586
Update snippetbar.jsx with filter for editor/view specific menus
...
Add logic to filter available snippet menus based on the view/editor that is open ("text" vs "style") for both Legacy and v3.
2021-08-12 06:59:55 -05:00
Gazook89
3d9f8ea142
Update snippet.js 'editor' to 'view'
...
Change new property 'editor' to 'view' on @calculuschild 's recommendation.
2021-08-12 06:01:48 -05:00
Gazook89
69a69bbb82
Add 'editor' property to snippets.js
...
Add another property to the snippet groups, "editor", with values either "text" or "style".
2021-08-11 21:44:39 -05:00
Gazook89
a63949636e
Update Ink Friendly snippet for v3
...
updated the ink friendly snippet so that it points to elements like .monster rather than hr+blockquote.
Goes further than original snippet by setting white background for monster, note, descriptive blocks.
Did not update Legacy.
2021-08-10 22:02:46 -05:00
Gazook89
9a44cc04b1
Add Square Page snippet
...
Add a snippet to Print menu (renamed to "Page") for a square page. Reduces padding and removes columns as well.
2021-08-10 21:46:47 -05:00
Gazook89
cefa3147fc
Fixes for CircleCI
2021-08-10 21:16:12 -05:00
Gazook89
51116efba7
Add Blended Watercolor Background Image
...
Add a snippet to create a nice watercolor background for use behind other images. Includes injection syntax which includes absolute position, hue-rotate, mix-blend-mode, and opacity.
Chooses an image randomly from an Imgur album. All images created by me (and open to creating more/making adjustments).
v3 only.
Could be improved by cycling through images rather than choosing randomly.
2021-08-10 20:56:28 -05:00
Gazook89
21058331cf
Add Class Table Circle Decoration Snippet
...
Adding a background image snippet that includes the fancy circular decoration found behind class tables in the source material.
*Could arguably replace the normal "Background Image" snippet and hit two bases with one stone*
2021-08-10 20:24:43 -05:00
Gazook89
4b001d9890
Move Image Snippets to New Menu
...
Separating image related snippets to a new drop down snippet menu.
2021-08-10 20:22:36 -05:00
Gazook89
c9e1d7ba5c
Fixed closing curly brackets on half class table
2021-08-10 16:35:21 -05:00