View Full Version : Load content from textfile into extjs HTMLEditor

1 Sep 2011, 3:58 PM
Hello people,

is it possible to load content from a textfile which is in a database into the extjs htmleditor?


3 Sep 2011, 9:38 AM

Assuming an Ajax-based app the technique would be:

Send an Ajax request to your server.
The server queries the database to access the text file. This is then bundled into the response of the Ajax request in whatever form is most convenient.
The success handler for the Ajax request sets the text on the HTMLEditor.