Loading data/template/default/editor.html +4 −4 Changes for data/template/default/editor.html: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -3238,7 +3238,7 @@ if (_mediaBrowserMode === 'url') { const input = document.getElementById(_mediaBrowserTargetInput); if (input) { input.value = PREFIX + '/media/getimage/' + mediaId + '.' + ext; input.value = '/media/getimage/' + mediaId + '.' + ext; input.dispatchEvent(new Event('input', { bubbles: true })); } const modal = document.getElementById('media-browser-modal'); Loading Loading @@ -3268,13 +3268,13 @@ _loadImageNaturalSize(origUrl); } // Build src URL with PREFIX // Build src URL without PREFIX (backend Render() adds it) const srcEl = document.getElementById('prop-src'); if (srcEl) { if (isVideo) { srcEl.value = PREFIX + '/media/getimage/' + mediaId; srcEl.value = '/media/getimage/' + mediaId; } else { const basePath = PREFIX + '/media/getimage/' + mediaId + '.' + ext; const basePath = '/media/getimage/' + mediaId + '.' + ext; const rw = document.getElementById('prop-real_width'); const rh = document.getElementById('prop-real_height'); const w = rw ? parseInt(rw.value, 10) || 0 : 0; Loading Loading
data/template/default/editor.html +4 −4 Changes for data/template/default/editor.html: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -3238,7 +3238,7 @@ if (_mediaBrowserMode === 'url') { const input = document.getElementById(_mediaBrowserTargetInput); if (input) { input.value = PREFIX + '/media/getimage/' + mediaId + '.' + ext; input.value = '/media/getimage/' + mediaId + '.' + ext; input.dispatchEvent(new Event('input', { bubbles: true })); } const modal = document.getElementById('media-browser-modal'); Loading Loading @@ -3268,13 +3268,13 @@ _loadImageNaturalSize(origUrl); } // Build src URL with PREFIX // Build src URL without PREFIX (backend Render() adds it) const srcEl = document.getElementById('prop-src'); if (srcEl) { if (isVideo) { srcEl.value = PREFIX + '/media/getimage/' + mediaId; srcEl.value = '/media/getimage/' + mediaId; } else { const basePath = PREFIX + '/media/getimage/' + mediaId + '.' + ext; const basePath = '/media/getimage/' + mediaId + '.' + ext; const rw = document.getElementById('prop-real_width'); const rh = document.getElementById('prop-real_height'); const w = rw ? parseInt(rw.value, 10) || 0 : 0; Loading