text editor added, and database query