0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-09 03:18:39 +00:00
Commit Graph

50 Commits

Author SHA1 Message Date
Víctor Losada Hernández 9adf6dee61 use js for it 2025-05-22 23:29:08 +02:00
Víctor Losada Hernández 03527a1f95 fix it damn it 2025-05-22 22:35:26 +02:00
Víctor Losada Hernández 2bd0f909f3 fix snippetbar being eaten 2025-04-21 20:45:36 +02:00
David Bolack a6703ef731 Clear up confusing commment and consolidate style tag. 2025-04-09 13:30:03 -05:00
David Bolack bd9d9d4ab6 Merge branch 'master' into localSnippetEditor 2025-04-08 20:35:11 -05:00
David Bolack 2f95cc5f45 Merge branch 'master' into localSnippetEditor 2025-03-24 15:10:25 -05:00
Víctor Losada Hernández d2507fe99f remove empty lines 2025-03-19 13:29:16 +01:00
Víctor Losada Hernández 07ff9a114e lint 2025-03-19 13:26:58 +01:00
Víctor Losada Hernández 962d98543e initial fix 2025-03-19 10:56:16 +01:00
Víctor Losada Hernández 163e3927b5 style lint 2025-03-18 19:38:58 +01:00
David Bolack 86856605b9 Add editor highlighting 2024-12-10 23:08:51 -06:00
Víctor Losada Hernández f449132b4c wrap correctly 2024-08-14 20:38:38 +02:00
Trevor Buckner d695648d9b Tweaks to Editor highlighting. Maybe still ugly. 2024-05-03 21:40:09 -04:00
Trevor Buckner 0751da42b6 Add emoji highlighting to editor 2024-05-03 21:40:08 -04:00
David Bolack 3ee9fe1c3f Update tests.
Prune no lionger valid cases.
2024-02-06 22:13:44 -06:00
Trevor Buckner ddef21cd7e Give editor highlighting sub/superscript alignment 2023-12-04 21:54:44 -05:00
David Bolack f1ca6eeee2 Near complete 2023-11-08 00:49:39 -06: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
G.Ambatte c8df449aac Style custom blocks in editor on dark themes 2023-06-12 19:52:13 +12:00
Victor Losada Hernandez 2cce7aebfc correct highlight of curly elements 2023-05-02 21:25:00 +02:00
Gazook89 cc58721ccd give span tags to injection syntax for styling 2022-11-13 21:02:45 -06:00
Trevor Buckner 8acd42fcbe Small cleanup. Reduce redundant code. 2021-12-06 15:36:41 -05:00
Gazook89 372d33271d Change widgets to bookmarks for page counters 2021-11-21 15:17:23 -06:00
Gazook89 9f05aae876 remove left property entirely and set height to cm.defaultTextHeight 2021-11-10 11:17:45 -06:00
Gazook89 403e5050e8 adjust position from right to accommodate scrollbar 2021-11-08 09:05:08 -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
G.Ambatte 9bc52b412c Initial pass at Editor Toolbar - Undo and Redo. 2021-10-18 22:29:25 +13:00
Gazook89 39f745639f remove gradient, set counter to start at '2' 2021-09-28 20:06:29 -05:00
Gazook89 eee343c197 change tack, keep border on bottom but add page counter 2021-09-11 16:12:47 -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
Trevor Buckner e2cd7d9f07 Legacy renderer (#1184)
* Include two versions of Marked.js

* Include two versions of Marked.js

* Working two different render pipelines

Adds stylesheet "styleLegacy.less"
Adds markdownHandler "markdownLegacy.js"
The BrewRenderer will switch between these and the new pipeline dependent on the "version" prop passed in.

* Mustache-style div blocks

* Legacy snippets & columnbreak

* Codemirror styling for Div Blocks

* Lint

* Codemirror highlights for inline Divs as well

These will turn red `{{class Content}}`

Multi-line divs will turn purple

```
{{class,class2
content
}}
```

No real need for these to be different colors. Just for testing.

* More lint

* Update dependencies.

* Adding Button to switch render pipelines

* Update Marked.js

* Popup alert to refresh page when renderer changed

* Don't compress files in Development (very slow)

* Block DIV or inline Span depending on {{ placement

* \column emits a Div instead of Span

* Allow share page to use new renderer

* {{ divs no longer need empty lines. Spans work in lists.

* Typo

* Typo

* Enforce \page must be at start of line. Code cleanup.

* Inject newlines after/before {{/}} to avoid needing blank lines

* Fixes issues with tables.

* Remove console.log

* Fix spacing issue for Spans

* Move things from Brewrenderer to Markdown

Try to keep all custom text fiddling in one spot.

* Rename variables

* Update Font-Awesome to v5.15. Fix style issues on popups.

* Update {{ Divs/Spans, Fix nested hilighting

* Fixed Spans/divs with no tags or just commas

* Use blacklist for {{ to allow more characters

* Update package-lock.json

* Update all icons to Font-awesome 5

* V3 hidden behind config variable

Add "globalThis.enable_v3 = true" in the console to enable.

* lint
2021-02-02 20:38:25 -05:00
Scott Tolksdorf 9fe6fd979b Adding in line highlight for new pages 2017-01-19 12:10:19 -05:00
Scott Tolksdorf 5e04e5dc99 Code to brew page jumping working 2017-01-17 23:32:34 -05:00
Scott Tolksdorf e61bf22788 Added in metadata editor 2016-11-23 14:47:28 -05:00
Scott Tolksdorf d400c37b6d Updated style to navbar 2016-11-14 23:03:58 -05:00
Scott Tolksdorf 626cba6062 Newlines 2016-05-28 09:41:05 -04:00
Scott Tolksdorf c084cb2d8b Styling the snippet groups a bit better 2016-05-14 14:55:27 -04:00
Scott Tolksdorf 634c1a617c Converted the monster block to use border iamges 2016-05-10 23:51:45 -04:00
Scott Tolksdorf 6f6f5649d4 Snippets done 2016-05-10 22:29:00 -04:00
Scott Tolksdorf ed7decb42b Adding new navitems and finishing the edit and share page 2016-05-09 16:54:32 -04:00
Scott Tolksdorf 30e6bb28ad Creating thew new brew renderer 2016-05-09 09:35:43 -04:00
Scott Tolksdorf ad02f99ebe Editor pane looks finished, injecting snippet text is workign and snippet group structure done 2016-05-06 13:59:41 -04:00
Scott Tolksdorf c418ea5b42 Updated font awesome and sketching out the snippet bar 2016-05-05 10:03:51 -04:00
Scott Tolksdorf 4139a8ee12 UPdating the homebrew editor with new snippet bar 2016-05-05 08:36:33 -04:00
Scott Tolksdorf 1ce0f00b62 Split pane scrolling is FINALLY working 2016-05-04 02:13:11 -04:00
Scott Tolksdorf c93c6b13c4 Page container is now doign partial rendering, need to clean up the stlying though 2016-04-06 00:15:15 -04:00
Scott Tolksdorf fb8ddfe9fa So much polish 2016-01-04 17:02:55 -05:00
Scott Tolksdorf 4ff1f3dc37 Status bar nearly done, first pass on the split pane workign for edit page 2016-01-03 04:39:56 -05:00
Scott 1b1860bb0a it works 2015-12-19 23:16:35 -05:00