LP1803584: Fix Clear button in template editor