Hi, I’m trying to create a simple template that takes the current selection and subscript it. The script works but it adds a lot of useless white lines. In this state is really annoying to use. I included a video of the problem.
Are you sure that you didn’t have any lines after your line of code in the template and that there is no empty line after it? When I had this problem, it was due to that.
For exemple:
Thanks a lot guys! The solution with QuickAdd was also really good and it would have worked perfectly for me. Next time I will double-check before creating a post.