mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -05:00
Merge branch 'master' into es6-integration
This commit is contained in:
commit
74b04d08b5
7 changed files with 12 additions and 3 deletions
|
@ -6,6 +6,6 @@ module.exports = {
|
|||
},
|
||||
|
||||
down: function (queryInterface, Sequelize) {
|
||||
queryInterface.removeColumn('Notes', 'deletedAt', Sequelize.DATE);
|
||||
queryInterface.removeColumn('Notes', 'deletedAt');
|
||||
}
|
||||
};
|
||||
|
|
|
@ -7,7 +7,7 @@ module.exports = {
|
|||
},
|
||||
|
||||
down: function (queryInterface, Sequelize) {
|
||||
queryInterface.removeColumn('Users', 'email', Sequelize.TEXT);
|
||||
queryInterface.removeColumn('Users', 'password', Sequelize.TEXT);
|
||||
queryInterface.removeColumn('Users', 'email');
|
||||
queryInterface.removeColumn('Users', 'password');
|
||||
}
|
||||
};
|
||||
|
|
|
@ -354,6 +354,12 @@ input {
|
|||
color: white;
|
||||
}
|
||||
|
||||
.screenshot {
|
||||
margin: 30px auto;
|
||||
width: 100%;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
select {
|
||||
color: black;
|
||||
}
|
||||
|
|
|
@ -3452,6 +3452,7 @@ function updateViewInner() {
|
|||
var value = editor.getValue();
|
||||
var lastMeta = md.meta;
|
||||
md.meta = {};
|
||||
delete md.metaError;
|
||||
var rendered = md.render(value);
|
||||
if (md.meta.type && md.meta.type === 'slide') {
|
||||
var slideOptions = {
|
||||
|
|
|
@ -24,6 +24,7 @@ const markdown = $("#doc.markdown-body");
|
|||
const text = markdown.text();
|
||||
const lastMeta = md.meta;
|
||||
md.meta = {};
|
||||
delete md.metaError;
|
||||
let rendered = md.render(text);
|
||||
if (md.meta.type && md.meta.type === 'slide') {
|
||||
const slideOptions = {
|
||||
|
|
BIN
public/screenshot.png
Normal file
BIN
public/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 233 KiB |
|
@ -87,6 +87,7 @@
|
|||
<a type="button" href="<%- url %>/features" class="btn btn-lg btn-primary" style="min-width: 200px;"><%= __('Explore all features') %></a>
|
||||
<br>
|
||||
<br>
|
||||
<img src="<%- url %>/screenshot.png" class="screenshot ui-signin">
|
||||
</span>
|
||||
<div class="lead row" style="width: 90%; margin: 0 auto;">
|
||||
<div class="col-md-4 inner">
|
||||
|
|
Loading…
Reference in a new issue