• Denys Mishunov's avatar
    Stores 'binary' and 'rawPath' attr after upload · 166c3ea2
    Denys Mishunov authored
    - When uploading a file, we need to flag binary files correspondingly
    so that it gets propagated all the way to RepoEditor as it decides on
    whether to show editor for this or that file or not (shouldHideEditor())
    
    - rawPath needs to be propagate all the way to ContentViewer as well so
    that uploaded images could be rendered as a base64 image right away
    instead of raw base64 string
    166c3ea2
utils.js 4.41 KB