update editor api document and add demoes