user2605292
user2605292

Reputation: 11

How to save the content of TinyMCE using HTML in Google Chrome?

Does anyone know how to save the content in the TinyMCE editor into flat files (.txt) using HTML & Javascript in Google Chrome?

The content in the TinyMCE editor is retrieved from a flat file called hi.txt and once it's edited, it needs to be saved back inside hi.txt.

I embedded the TinyMCE editor into a webpage and this webpage is hosted via Dropbox.

Upvotes: 1

Views: 800

Answers (2)

Raymonf
Raymonf

Reputation: 112

Ahhh, I reread the question. It's not possible with only HTML & Javascript.

So, no.

Upvotes: 0

dda
dda

Reputation: 6213

Not possible. Browsers don't have access to the local filesystem. What you can do is submit the contents of the editor to your server, and have the server send you back the file as a new hi.txt as a download.

Upvotes: 1

Related Questions