Insert Table in ASP.NET MVC Markdown Editor Control
18 Nov 20181 minute to read
To enable the table insertion feature, add the CreateTable option to the toolbar items. Once added, users can click the Insert Table icon in the toolbar to insert a table into the editor.
By default, when a table is inserted, it consists of:
- 2 rows and 2 columns
- A table header row
This ensures that users can start formatting and adding content immediately.
Changing default content
By default, when you insert a table, it comes with predefined column headers and structure. However, you can customize the table’s default content, including the heading and column names, to match your requirements.
The following example demonstrates how to customize the table content in the Markdown Editor: