1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Got image uploads working

This commit is contained in:
Dan Brown
2015-07-13 21:52:56 +01:00
parent 5d2243e2cc
commit 1ec9466c29
11 changed files with 329 additions and 6 deletions

View File

@ -3,13 +3,13 @@
*/
h1 {
font-size: 5.625em;
font-size: 3.625em;
line-height: 1.22222222em;
margin-top: 0.48888889em;
margin-bottom: 0.24444444em;
}
h2 {
font-size: 3.1875em;
font-size: 2.8275em;
line-height: 1.294117647em;
margin-top: 0.8627451em;
margin-bottom: 0.43137255em;

View File

@ -14,7 +14,13 @@
<script>
$(function() {
$('#html').editable({inlineMode: false});
$('#html').editable({
inlineMode: false,
imageUploadURL: '/upload/image',
imageUploadParams: {
'_token': '{{ csrf_token() }}'
}
});
});
</script>
@stop