GoogleChromeLabs / text-editor

A text editor build on the Native File System APIs
https://googlechromelabs.github.io/text-editor/
Apache License 2.0
507 stars 118 forks source link

Save or Save As shows alert with Error #26

Open vinnakotakk opened 4 years ago

vinnakotakk commented 4 years ago

When trying to 'Save' or 'Save As' , it gives an error saying "An error occured trying to open the file." chrome version: Version 86.0.4240.75 (Official Build) (64-bit)

sdutwsl commented 4 years ago

change fs-helper.js line 47 to accept: {'text/plain': ['.txt']}, (add dot before txt)

can fix this issue

ghost commented 4 years ago

(add dot before txt)

can fix this issue

Ah, same as the unmerged pull request: https://github.com/GoogleChromeLabs/text-editor/pull/24