The templateSelection option was used in the demo, but was not shown in the example code. This commit fixes it, so that copy&pasting works as expected.
The templateSelection option was used in the demo, but was not shown in the example code. This commit fixes it, so that copy&pasting works as expected.