editor api improvements