mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-04-09 06:08:49 +02:00
Editor: Do not assume images URLs are going to be http:// (wrong assumption plus not SSL) (fixes #2127)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
* Updated node modules dev dependencies
|
||||
* Package.json scripts cleanup
|
||||
* Recompiled JS for production
|
||||
* Editor: Do not assume images URLs are going to be `http://` (wrong assumption plus not SSL) [#2127](https://github.com/getgrav/grav-plugin-admin/issues/2127)
|
||||
|
||||
# v1.10.14
|
||||
## 04/29/2021
|
||||
|
||||
@@ -242,7 +242,7 @@ export default {
|
||||
label: '<i class="fa fa-fw fa-picture-o"></i>',
|
||||
modes: ['gfm', 'markdown'],
|
||||
action({ codemirror, button, textarea }) {
|
||||
replacer({ name: 'image', replace: '', codemirror, button });
|
||||
replacer({ name: 'image', replace: '', codemirror, button });
|
||||
}
|
||||
}
|
||||
}, {
|
||||
|
||||
2
themes/grav/js/admin.min.js
vendored
2
themes/grav/js/admin.min.js
vendored
@@ -3470,7 +3470,7 @@ var flipDisabled = function flipDisabled(codemirror, button, type) {
|
||||
textarea = _ref17.textarea;
|
||||
replacer({
|
||||
name: 'image',
|
||||
replace: '',
|
||||
replace: '',
|
||||
codemirror: codemirror,
|
||||
button: button
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user