integrate with editor