Editor : add `execCommand` with test case