mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-02-11 22:19:47 -06:00
Merge pull request #4099 from frenchcutgreenbean/master
(Update) imgbb.js
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
vendor: 'auto',
|
||||
mode: 'auto',
|
||||
lang: 'auto',
|
||||
autoInsert: 'bbcode-embed-thumbnail',
|
||||
autoInsert: 'bbcode-embed-full',
|
||||
palette: 'default',
|
||||
init: 'onload',
|
||||
containerClass: 1,
|
||||
@@ -131,13 +131,14 @@
|
||||
);
|
||||
},
|
||||
getNewValue: function (t, e) {
|
||||
w = e.replaceAll("[img]", "[img=350]").replaceAll("\n", " ")
|
||||
var i =
|
||||
'string' != typeof t.getAttribute('contenteditable')
|
||||
? 'value'
|
||||
: 'innerHTML',
|
||||
s = 'value' == i ? '\n' : '<br>',
|
||||
n = t[i],
|
||||
r = e;
|
||||
r = w;
|
||||
if (0 == n.length) return r;
|
||||
var o = '',
|
||||
a = n.match(/\n+$/g),
|
||||
@@ -35,7 +35,7 @@ export default defineConfig({
|
||||
'resources/js/unit3d/tmdb.js',
|
||||
'resources/js/unit3d/parser.js',
|
||||
'resources/js/unit3d/helper.js',
|
||||
'resources/js/unit3d/imgbb.js',
|
||||
'resources/js/vendor/imgbb.js',
|
||||
'resources/js/vendor/virtual-select.js',
|
||||
],
|
||||
dest: 'unit3d'
|
||||
@@ -56,4 +56,4 @@ export default defineConfig({
|
||||
vue: 'vue/dist/vue.esm.js',
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user