mirror of https://github.com/MarceauKa/shaark.git
🐛 Markdown editor will now load correct language pack
This commit is contained in:
parent
97859fd63e
commit
d5d5f4396f
|
@ -12,6 +12,7 @@
|
|||
|
||||
- AlbumCard preview
|
||||
- Missing translations on file uploader
|
||||
- Markdown editor will now load correct language pack (issue #42)
|
||||
- Manage Tags and Manage Archives issues in responsive and dark mode (issue #47)
|
||||
- Keep old settings values when validation fails
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"/js/app.js": "/js/app.js?id=195bc8ab00024114b294",
|
||||
"/js/app.js": "/js/app.js?id=c8b6525e98970b0fa41d",
|
||||
"/css/app.css": "/css/app.css?id=b754c2c0d237f3bf3291",
|
||||
"/js/manifest.js": "/js/manifest.js?id=3c768977c2574a34506e",
|
||||
"/js/vendor.js": "/js/vendor.js?id=df4e7f64848d7be19b71"
|
||||
"/js/vendor.js": "/js/vendor.js?id=d01e65db03bef4cabb61"
|
||||
}
|
||||
|
|
|
@ -99,7 +99,7 @@ export default {
|
|||
|
||||
let length = this.album.images.length;
|
||||
let max = length > 4 ? 4 : length;
|
||||
console.log(length, max);
|
||||
|
||||
return this.album.images.slice(0, max);
|
||||
},
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ export default {
|
|||
loading: false,
|
||||
editor: {
|
||||
minHeight: '300px',
|
||||
language: 'fr_FR',
|
||||
language: document.getElementsByTagName('html')[0].getAttribute('lang') || 'en',
|
||||
useCommandShortcut: true,
|
||||
useDefaultHTMLSanitizer: true,
|
||||
usageStatistics: false,
|
||||
|
|
|
@ -14,6 +14,7 @@ mix.js('resources/js/app.js', 'public/js')
|
|||
'to-mark',
|
||||
'tui-code-snippet',
|
||||
'tui-editor',
|
||||
'vue-filepond',
|
||||
'vue',
|
||||
'v-img',
|
||||
'vue-clickaway',
|
||||
|
|
Loading…
Reference in New Issue