artalk 2.4.3 → 2.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Artalk.es.js +41 -13
- package/dist/Artalk.iife.js +1 -1
- package/dist/Artalk.js +1 -1
- package/dist/ArtalkLite.es.js +41 -13
- package/dist/ArtalkLite.iife.js +1 -1
- package/dist/ArtalkLite.js +1 -1
- package/package.json +2 -2
- package/src/context.ts +0 -2
- package/src/editor/editor.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "artalk",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.4",
|
|
4
4
|
"backendMinVersion": "2.3.0",
|
|
5
5
|
"license": "LGPL-3.0",
|
|
6
6
|
"description": "A Selfhosted Comment System",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"hanabi": "^0.4.0",
|
|
31
31
|
"insane": "^2.6.2",
|
|
32
32
|
"marked": "^4.0.19",
|
|
33
|
-
"abortcontroller-polyfill": "^1.7.
|
|
33
|
+
"abortcontroller-polyfill": "^1.7.5"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"dev": "vite",
|
package/src/context.ts
CHANGED
package/src/editor/editor.ts
CHANGED
|
@@ -433,6 +433,7 @@ export default class Editor extends Component {
|
|
|
433
433
|
this.$plugBtnWrap.innerHTML = ''
|
|
434
434
|
|
|
435
435
|
const disabledPlugs: string[] = []
|
|
436
|
+
if (!this.conf.imgUpload) disabledPlugs.push('upload')
|
|
436
437
|
if (!this.conf.emoticons) disabledPlugs.push('emoticons')
|
|
437
438
|
if (!this.conf.preview) disabledPlugs.push('preview')
|
|
438
439
|
|