|
@@ -75,13 +75,13 @@ export default class CKFinderCommand extends Command {
|
|
|
const images = files.filter( file => file.isImage() );
|
|
const images = files.filter( file => file.isImage() );
|
|
|
|
|
|
|
|
for ( const linkFile of links ) {
|
|
for ( const linkFile of links ) {
|
|
|
- editor.execute( 'link', linkFile.get( 'url' ) );
|
|
|
|
|
|
|
+ editor.execute( 'link', linkFile.getUrl() );
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const imagesUrls = [];
|
|
const imagesUrls = [];
|
|
|
|
|
|
|
|
for ( const image of images ) {
|
|
for ( const image of images ) {
|
|
|
- const url = image.get( 'url' );
|
|
|
|
|
|
|
+ const url = image.getUrl();
|
|
|
|
|
|
|
|
imagesUrls.push( url ? url : finder.request( 'file:getProxyUrl', { file: image } ) );
|
|
imagesUrls.push( url ? url : finder.request( 'file:getProxyUrl', { file: image } ) );
|
|
|
}
|
|
}
|