🐛 Markdown editor will now load correct language pack

This commit is contained in:
MarceauKa 2019-11-07 11:29:26 +01:00
parent 97859fd63e
commit d5d5f4396f
7 changed files with 8 additions and 6 deletions

View File

@ -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

2
public/js/app.js vendored

File diff suppressed because one or more lines are too long

2
public/js/vendor.js vendored

File diff suppressed because one or more lines are too long

View File

@ -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"
}

View File

@ -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);
},

View File

@ -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,

1
webpack.mix.js vendored
View File

@ -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',