add canvas block api
add canvas block api