old_contents: const base64 = () => ({
    title: 'Base64',
    name: 'base64',
    uploadFile(file, fileName) {
      const reader = new FileReader();
  
      return new Promise((resolve, reject) => {
        reader.onload = (event) => {
          const url = event.target.result;
          resolve({
            storage: 'base64',
            name: fileName,
            url: url,
            size: file.size,
            type: file.type,
            data: url.replace(`data:${file.type};base64,`, '')
          });
        };
  
        reader.onerror = () => {
          return reject(this);
        };
  
        reader.readAsDataURL(file);
      });
    },
    downloadFile(file) {
      // Return the original as there is nothing to do.
      return Promise.resolve(file);
    }
  });
  
  base64.title = 'Base64';
  export default base64;
  
new_contents: const base64 = () => ({
    title: 'Base64',
    name: 'base64',
    uploadFile(file, fileName) {
      const reader = new FileReader();
  
      return new Promise((resolve, reject) => {
        reader.onload = (event) => {
          const url = event.target.result;
          resolve({
            storage: 'base64',
            name: fileName,
            url: url,
            size: file.size,
            type: file.type,
          });
        };
  
        reader.onerror = () => {
          return reject(this);
        };
  
        reader.readAsDataURL(file);
      });
    },
    downloadFile(file) {
      // Return the original as there is nothing to do.
      return Promise.resolve(file);
    }
  });
  
  base64.title = 'Base64';
  export default base64;
  
subject: Fix bug whit base64 data duplication