Commit 485e1a78 authored by NGPixel's avatar NGPixel Committed by Nicolas Giard

fix: removed jquery explicit includes

parent c94d41e7
'use strict' 'use strict'
/* global $ */
/* eslint-disable no-new */ /* eslint-disable no-new */
import $ from 'jquery'
import Vue from 'vue' import Vue from 'vue'
import VueResource from 'vue-resource' import VueResource from 'vue-resource'
import VueClipboards from 'vue-clipboards' import VueClipboards from 'vue-clipboards'
......
'use strict' 'use strict'
import $ from 'jquery' /* global $ */
let mde let mde
......
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
</template> </template>
<script> <script>
import * as $ from 'jquery'
export default { export default {
data () { data () {
return { return {
......
'use strict' 'use strict'
import $ from 'jquery' /* global $ */
$(() => { $(() => {
$('#login-user').focus() $('#login-user').focus()
......
'use strict' 'use strict'
/* global $ */
import MathJax from 'mathjax' import MathJax from 'mathjax'
import $ from 'jquery'
export default { export default {
name: 'content-view', name: 'content-view',
......
...@@ -32,7 +32,7 @@ $primary: 'indigo'; ...@@ -32,7 +32,7 @@ $primary: 'indigo';
@import 'node_modules/highlight.js/styles/atom-one-dark'; @import 'node_modules/highlight.js/styles/atom-one-dark';
@import 'node_modules/simplemde/dist/simplemde.min'; @import 'node_modules/simplemde/dist/simplemde.min';
@import 'components/_editor'; @import 'components/editor';
@import 'layout/_header'; @import 'layout/_header';
@import 'layout/_loader'; @import 'layout/_loader';
......
...@@ -367,3 +367,18 @@ main > .ace-container { ...@@ -367,3 +367,18 @@ main > .ace-container {
bottom: 0; bottom: 0;
right: 0; right: 0;
} }
.editor-sd {
max-width: 250px;
flex: 0 1 250px;
background-color: mc('blue-grey', '100');
&-item {
background-color: mc('blue-grey', '50');
&:first-child {
margin-top: 60px;
}
}
}
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
"eslint-plugin-node": "^5.0.0", "eslint-plugin-node": "^5.0.0",
"eslint-plugin-promise": "^3.5.0", "eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1", "eslint-plugin-standard": "^3.0.1",
"fuse-box": "2.1.0-beta.10", "fuse-box": "^2.0.2",
"i18next-xhr-backend": "^1.4.2", "i18next-xhr-backend": "^1.4.2",
"jest": "^20.0.4", "jest": "^20.0.4",
"jquery": "^3.2.1", "jquery": "^3.2.1",
......
...@@ -15,8 +15,12 @@ block rootNavRight ...@@ -15,8 +15,12 @@ block rootNavRight
block content block content
editor(inline-template, current-path=pageData.meta.path, v-cloak) editor(inline-template, current-path=pageData.meta.path, v-cloak)
.editor-area .columns.is-gapless
textarea(ref='editorTextArea', v-pre)= pageData.markdown .column.editor-area
textarea(ref='editorTextArea', v-pre)= pageData.markdown
.column.editor-sd
.editor-sd-item Images
.editor-sd-item Files
editor-file editor-file
editor-video editor-video
......
This diff was suppressed by a .gitattributes entry.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment