Medium Editor allows you to add custom forms for your extensions. This example demonstrates a form for creating a table.