diff --git a/changelog.md b/changelog.md index 5c825acff..f4a7300b3 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # changelog +### Thursday, 01/12/2016 +- Added in a snippet for a split table +- Added an account nav item to new page + + ### Sunday, 27/11/2016 - v2.5.1 - Fixed the column rendering on the new user page. Really should have tested that better - Added a hover tooltip to fully read the brew description diff --git a/client/homebrew/editor/snippetbar/snippets/snippets.js b/client/homebrew/editor/snippetbar/snippets/snippets.js index 1d0eec785..60a0f2327 100644 --- a/client/homebrew/editor/snippetbar/snippets/snippets.js +++ b/client/homebrew/editor/snippetbar/snippets/snippets.js @@ -191,6 +191,34 @@ module.exports = [ "\n\n" ].join('\n'); }, + }, + { + name : 'Split Table', + icon : 'fa-th-large', + gen : function(){ + return [ + "
", + "| d10 | Damage Type |", + "|:---:|:------------|", + "| 1 | Acid |", + "| 2 | Cold |", + "| 3 | Fire |", + "| 4 | Force |", + "| 5 | Lightning |", + "", + "```", + "```", + "", + "| d10 | Damage Type |", + "|:---:|:------------|", + "| 6 | Necrotic |", + "| 7 | Poison |", + "| 8 | Psychic |", + "| 9 | Radiant |", + "| 10 | Thunder |", + "
\n\n", + ].join('\n'); + }, } ] }, diff --git a/client/homebrew/pages/newPage/newPage.jsx b/client/homebrew/pages/newPage/newPage.jsx index edd0a0b6b..9a0870eaf 100644 --- a/client/homebrew/pages/newPage/newPage.jsx +++ b/client/homebrew/pages/newPage/newPage.jsx @@ -7,7 +7,7 @@ const Markdown = require('naturalcrit/markdown.js'); const Nav = require('naturalcrit/nav/nav.jsx'); const Navbar = require('../../navbar/navbar.jsx'); -const EditTitle = require('../../navbar/editTitle.navitem.jsx'); +const AccountNavItem = require('../../navbar/account.navitem.jsx'); const IssueNavItem = require('../../navbar/issue.navitem.jsx'); const SplitPane = require('naturalcrit/splitPane/splitPane.jsx'); @@ -133,6 +133,7 @@ const NewPage = React.createClass({ {this.renderSaveButton()} {this.renderLocalPrintButton()} + },