Adding text-editor widget