0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-30 21:52:43 +00:00
Commit Graph

746 Commits

Author SHA1 Message Date
David Bolack
c58c8777f1 Add arbitrary tag attr assign. in moustaches
This adds the ability to include attribute values for any element that
can be altered by a moustache.

Form:

```
{attribute=value}

example:

![homebrew mug](https://i.imgur.com/hMna6G0.png) {position:absolute,bottom:20px,left:130px,width:220px,a=b and c,g=h}
```

In order to permit spaces, the pattern matches for moustache code had to
remove the space character as a delimiter. I believe I have adequate
compensated.

This should solve #1488
2023-11-07 17:43:24 -06:00
Gazook89
3cf6691e67 remove width constraint on editors in snippet bar. 2023-09-29 09:31:20 -05:00
Gazook89
8077a91ff7 add foldAll and unfoldAll buttons to snippet bar. 2023-09-29 09:31:20 -05:00
Gazook89
c6ef051232 Stylelint the editor.less file. 2023-09-27 22:56:20 -05:00
Gazook89
2c130d1943 add styling for definition lists in the editor. 2023-09-27 22:46:51 -05:00
Gazook89
f1e6a9a41e add syntax highlighting for definition lists 2023-09-27 22:46:51 -05:00
G.Ambatte
3f6eb7371f Increase ESLint lines for SnippetBar.jsx 2023-09-07 18:28:08 +12:00
G.Ambatte
e909bc8f35 Load editorThemes in SnippetBar.jsx 2023-09-07 17:33:36 +12:00
G.Ambatte
1806854969 Add onMouseDown handler for Firefox functionality 2023-07-12 20:16:36 +12:00
G.Ambatte
cf3635bccc Merge branch 'master' into addEditorThemes-#362 2023-07-11 07:38:13 +12:00
Trevor Buckner
62532f788e Remove extra param sent to execute() 2023-07-08 01:42:47 -04:00
G.Ambatte
ade61971d0 Remove snippet.params 2023-06-15 11:50:38 +12:00
G.Ambatte
c8df449aac Style custom blocks in editor on dark themes 2023-06-12 19:52:13 +12:00
G.Ambatte
7681be2e9c Merge branch 'master' into addEditorThemes-#362 2023-06-10 14:25:23 +12:00
G.Ambatte
9093f610bd Add params from snippet to function 2023-06-03 14:09:50 +12:00
G.Ambatte
d2b2e69123 Shift Footer generation to snippet 2023-06-03 13:30:32 +12:00
Gazook89
d0346650c4 add key to <p> in notes 2023-05-22 14:19:23 -05:00
G.Ambatte
56dbfc032c Merge branch 'master' into addEditorThemes-#362 2023-05-09 10:19:35 +12:00
Victor Losada Hernandez
2cce7aebfc correct highlight of curly elements 2023-05-02 21:25:00 +02:00
G.Ambatte
c660f87dff Load from & save to local storage 2023-04-02 17:57:11 +12:00
G.Ambatte
a86c728710 Remove obsolete styling 2023-04-02 16:53:41 +12:00
G.Ambatte
b28e183f95 Remove obsolete dev function 2023-04-02 16:53:30 +12:00
G.Ambatte
dc55880544 Initial theme selector functionality 2023-04-02 16:42:45 +12:00
G.Ambatte
5e9b451e29 Pass current editor theme to SnippetBar as prop 2023-04-02 16:17:50 +12:00
G.Ambatte
b2546d908a Shift CSS link to CodeEditor render 2023-04-02 13:19:43 +12:00
G.Ambatte
7dd1368c09 Add editorTheme to editor.jsx and downstream 2023-04-02 12:53:26 +12:00
Trevor Buckner
1a87a5543f Merge branch 'master' into pr/2745 2023-03-22 14:11:19 -04:00
Trevor Buckner
eaad46b6bc lint 2023-03-21 16:10:48 -04:00
Trevor Buckner
c2349fb464 Add note to Lang selector 2023-03-21 11:05:26 -04:00
Trevor Buckner
10263cbf7c Add note to Lang selector 2023-03-21 10:38:48 -04:00
Trevor Buckner
285b4c3b92 Lift up box to not be covered by Themes selector. 2023-03-20 13:18:20 -04:00
Trevor Buckner
0a7ccfb89e Debounce validation on Lang field 2023-03-20 13:17:51 -04:00
Victor Losada Hernandez
54ed9a7d33 initial draft 2023-03-14 08:06:26 +01:00
Gazook89
7bef807c41 Remove unnecessary commented code. 2023-03-07 22:08:42 -06:00
Gazook89
29f8f3546c Merge branch 'master' into Language-Attribute 2023-03-07 21:23:23 -06:00
Trevor Buckner
7117d3caed Add "beta" badge on snippets marked "experimetal" 2023-02-28 16:26:23 -05:00
Trevor Buckner
051fdbbc60 Fix snippet hover highlight not full button width 2023-02-07 10:20:43 -05:00
Trevor Buckner
a0af588d75 Custom icons 2023-02-04 11:07:04 -05:00
Trevor Buckner
5e38ff66da Add a side menu for sub-snippets
Subsnippets can be added to snippets as an additional property "subsnippets" which is an array of more snippets.
2023-02-02 15:29:12 -05:00
Trevor Buckner
a457058041 Resize dropdown button 2023-01-27 14:45:31 -05:00
Trevor Buckner
6d40e63e96 Merge branch 'master' into pr/2622 2023-01-27 14:26:05 -05:00
Charlie Humphreys
8f75ea4728 fix error issue 2023-01-23 14:22:18 -06:00
Charlie Humphreys
6ddf0bb889 update metadata editor to include error handling 2023-01-23 09:35:19 -06:00
Victor Losada Hernandez
d0dc83cf10 preview images updated 2023-01-21 17:15:50 +01:00
Victor Losada Hernandez
45c7ac4b85 Themes dropdown previews 2023-01-21 17:11:28 +01:00
Charlie Humphreys
6d9982f735 add elvis to fix invited authors editor 2022-12-23 12:21:15 -06:00
Charlie Humphreys
e5febc1fef update ui to include invitedAuthors array 2022-12-13 21:06:47 -06:00
Charlie Humphreys
8a110567fc remove call to persist 2022-12-07 07:32:22 -06:00
Charlie Humphreys
4e2f6b1d26 move callIfExists to base file scope 2022-12-05 22:39:38 -06:00
Charlie Humphreys
208593d203 add callIfExists, which will call a method only if it exists 2022-12-05 22:06:06 -06:00