add dd demo and update editor api document