Fixed problem with including text-editor