demo editor working using require block