Trevor Buckner
9519a0b4e4
Fix duplicated text from Class Feature snippet
...
When adding the Class Feature snippet, all curent text in the document is inserted in place of the randomly generated class name, creating several duplicates of the document and generally creating a mess. See #413 which was closed but the issue was never fixed.
Most of the snippet code generators do not have any input arguments in the `module.exports` function, so they don't have this issue. However, Table of Contents needs to parse the text in the brew, so it is passed a copy of the brew document. Unfortunately, Class Feature (classfeature.gen.js) also has an input parameter for when it is used as part of the Full Class snippet. Thus, the unintended consequence occurs in snippetbar.jsx in the `execute` function.
This fix simply adds a check to the execute function and only passes in the brew as an argument if the clicked snipped actually is the Table of Contents. Some restructuring might later reveal a cleaner way to do this rather than an awkward special case check like this.
2018-05-11 10:20:18 +01:00
Eric Scheid
9dd16b6dd5
add page-break-inside to support Firefox, the laggard
2018-05-10 14:36:24 -04:00
Eric Scheid
d693301c37
Fix property name break-inside
2018-05-10 14:36:24 -04:00
Rae Che
fd5d142c16
Fix calculation of currently-viewed page.
...
Previously, this relied on a hard-coded constant determining the
height of a page. However, that's unnecessary -- we know the scroll
height of the window and the number of pages, so we can compute it.
2018-05-10 14:35:03 -04:00
Trevor Buckner
ee63d2d857
Fix duplicate table headers
...
Fixes a common issue. See #318 .
2018-05-10 18:26:46 +01:00
Trevor Buckner
3e69e8c1aa
Revert "Merge pull request #1 from calculuschild/Fix-Duplicated-Table-Headers"
...
This reverts commit 1a0bc1952c , reversing
changes made to 4f4ef908e0 .
2018-05-08 21:33:34 -04:00
Trevor Buckner
7e2c3381ae
Fix Duplicated Table Header
...
Fixes a pretty common issue. See #318 .
2018-05-08 12:42:11 -04:00
Trevor Buckner
3fe2360d92
Revert "Fix duplicated table headers"
...
This reverts commit 13a2a7efd2 .
2018-05-08 12:36:30 -04:00
Trevor Buckner
13a2a7efd2
Fix duplicated table headers
...
Fixes a pretty common issue. See #318 .
2018-05-08 12:33:36 -04:00
Scott Tolksdorf
f18a181e2e
Updating to user create-react-class
2018-04-09 00:12:56 -04:00
Scott Tolksdorf
ed1b5252be
lint
2018-04-09 00:12:56 -04:00
Scott Tolksdorf
bf27250990
Updating navbar link to go to the new subreddit
2018-04-09 00:12:56 -04:00
Trevor Buckner
fe63133d7c
Re-enable Box Shadows in PDF
...
Box shadows have been fixed in Chrome. No reason to hide them anymore.
2018-04-08 23:23:49 -04:00
Scott Tolksdorf
3247cab214
Fixing issue#413 class feature duping entire brew
2017-06-04 16:07:49 -04:00
Scott Tolksdorf
6e0f042b42
Adding quick fix for PPR getting out of sync
2017-03-03 19:25:56 -05:00
Scott Tolksdorf
18852932e8
Added new delete brew option on user page
2017-02-18 14:46:14 -05:00
Scott Tolksdorf
063d701a0e
Updating the changelog and welcome msg
2017-01-19 12:39:13 -05:00
Scott Tolksdorf
296b066ed3
Added a brew lookup for admin page
2017-01-19 12:28:00 -05:00
Scott Tolksdorf
9fe6fd979b
Adding in line highlight for new pages
2017-01-19 12:10:19 -05:00
Scott Tolksdorf
70346ffce7
Fixed saving authors and systems to brews
2017-01-19 12:06:14 -05:00
Scott Tolksdorf
c417c1aa0c
Hiding the editor snapping for now
2017-01-19 11:50:01 -05:00
Scott Tolksdorf
5e04e5dc99
Code to brew page jumping working
2017-01-17 23:32:34 -05:00
Scott Tolksdorf
9b936f42f3
Added tooltip to metadata editor and upped the version of font awesome
2017-01-14 14:35:36 -08:00
Scott Tolksdorf
5fe7c7a6d8
renamed render warnings and now built into the brewrenderer
2017-01-14 14:21:51 -08:00
Scott Tolksdorf
6e86d9c123
Added a quick build task and created the warnings component
2017-01-14 13:53:09 -08:00
Scott Tolksdorf
306e4f024c
Adding the meta editor to home page
2017-01-14 13:34:20 -08:00
Scott Tolksdorf
a2c6940be4
version working again
2017-01-14 13:32:34 -08:00
Scott Tolksdorf
9fd7586726
Fixed renderer crashing with malformed html on load
2016-12-25 23:44:24 -05:00
Scott Tolksdorf
75f0a9f755
Fixed black boxes on print to pdf
2016-12-25 23:14:04 -05:00
Scott Tolksdorf
a35d684773
Changed icon and fixed 249
2016-12-25 23:09:22 -05:00
Scott Tolksdorf
90a6ac4ef8
removing the architecuter files
2016-12-25 21:46:59 -05:00
Scott Tolksdorf
bd6ba1e497
Removing uneeded files
2016-12-25 21:46:13 -05:00
Scott Tolksdorf
56048ab936
vitreum 4 is looking stable
2016-12-25 21:44:27 -05:00
Scott Tolksdorf
fe4a05dc25
Fixed the class table issue
2016-12-16 22:59:44 -05:00
Scott Tolksdorf
1f1bd669fe
Added additional protection against debounce saving
2016-12-12 10:28:37 -05:00
Scott Tolksdorf
e5ffb7c629
Greatly improved the user page UI
2016-12-03 16:27:15 -05:00
Scott Tolksdorf
be783e5f6b
Added a table of contents snippet
2016-12-03 15:47:20 -05:00
Scott Tolksdorf
d96ac0f3ca
Adding breakavoid to list elements
2016-12-03 14:56:31 -05:00
Scott Tolksdorf
ce5596c489
Making the user page a bit prettier
2016-12-03 14:54:11 -05:00
Scott Tolksdorf
9285e53e55
Added conditional partial page rendering
2016-12-03 14:49:00 -05:00
Scott Tolksdorf
bec417a325
Changed the meta editor icon
2016-12-03 14:02:28 -05:00
Scott Tolksdorf
1eeb1127b1
Added report back to edit
2016-12-03 13:59:18 -05:00
Scott Tolksdorf
8e6fccc969
Added account nav to newpage and added split table snippet
2016-12-01 10:06:23 -05:00
Scott Tolksdorf
a634b76117
Fixed a bug with saving while not logged in
2016-11-27 18:55:50 -05:00
Scott Tolksdorf
30942785d1
Fixed the User page
2016-11-27 13:45:38 -05:00
Scott Tolksdorf
21d3c5bfc8
Fixed a capitalization error
2016-11-25 00:58:28 -05:00
Scott Tolksdorf
a0ca45ce1c
Added new account nav item
2016-11-25 00:28:48 -05:00
Scott Tolksdorf
4e5cd914f7
User page now running properly
2016-11-24 23:35:10 -05:00
Scott Tolksdorf
6af9dd9325
Added in a brew item component
2016-11-24 00:07:04 -05:00
Scott Tolksdorf
9e14872f06
Stubbed out a userpage
2016-11-23 23:59:57 -05:00