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

Support Default App handling #20

Open rcoenen opened 4 years ago

rcoenen commented 4 years ago

Please find a way to let me associate the Text Editor with any .txt file.

Expected behaviour Right-click and "open as" or dimply double-clicking any text file should 1) open Text Editor and 2) Text Editor should subsequently open the selected .txt file

Actual current behaviour Right click open-as / double-click .txt files opens Tex Editor with an empty screen. The actual selected .txt doc does not get openend

Screenshot image

ghost commented 3 years ago

What's scary is that... I think this is possible.

chrome://flags/#file-handling-api.

rcoenen commented 3 years ago

Cool! That makes it much easier to use Chrome for a lot of stuff. How do I enable this then?

ghost commented 3 years ago

Cool! That makes it much easier to use Chrome for a lot of stuff. How do I enable this then?

It would require enabling another experimental Chromium flag, and the author designing the application to allow this.

Currently, it's not setup to actually use it, and he might not do it, since it's intended to just be a simple demo to show off a proposal.

Who knows, they might take sometime later to do this.

I am maintaining a separate fork of this project, heavily optimized for performance, which I plan to update and improve. After creating a solution for another issue here (https://github.com/GoogleChromeLabs/text-editor/issues/27), and submitting a PR here, I'll probably look into that, because I personally wanted to use this app like a native app too!

rcoenen commented 3 years ago

imagine photopea.com being able to read / write .psd files and stuff directly... :-D

On Thu, Nov 12, 2020 at 7:04 PM Anonymous notifications@github.com wrote:

Cool! That makes it much easier to use Chrome for a lot of stuff. How do I enable this then?

It would require enabling another experimental Chromium flag, and the author designing the application to allow this.

Currently, it's not setup to actually use it, and he might not do it, since it's intended to just be a simple demo to show off a proposal.

Who knows, they might take sometime later to do this.

I am maintaining a separate fork of this project, which I plan to heavily update and improve. After creating a solution for another issue here (#27 https://github.com/GoogleChromeLabs/text-editor/issues/27), and submitting a PR here, I'll probably look into that, because I personally wanted to use this app like a native app too!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GoogleChromeLabs/text-editor/issues/20#issuecomment-726417477, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFYAKDWMKBJXG4BSZYHAVDSPRZYXANCNFSM4KI32XEA .