It is possible to type a name in an have it appear on the button. But it has to be handled differently. You cant type a name in on the button directly, because the button will register that as a click and try to roll. Most sheets that do this handle it by having two different modes: an edit mode, and a normal mode. When you activate edit mode, it swaps the button with an input, letting you enter the name. Then switching back to normal mode, you have the button. This works because spans can be given an attribute name (name="attr_something"), and if you give the span and input the same name, whatever you type in the input will appear on the span. So the above button would be something like <button class="button-roll" type="roll" name="roll_MySkill" value="/roll 1d20+6"> <span class="button-text" name="attr_this_skill"></span> </button> and have an input with the same name somewhere else, where you enter the text you want to appear.