Reply to: Insert Table Button XSDDecember 6, 2013 at 1:18 am
Here's a basic sample Schema that defines a set of elements that will be recognized automatically as an HTML table. It defines more than is necessary to provide basic HTML table editing capabilities.
The Insert Table options (menu and toolbar) will be enabled when the insertion point is inside a document containing a
With this in place (or a schema that defines similar elements: table, tr, td) you do not need to use DOM methods. You can simply call the API InsertTable() with the appropriate parameters. However, that is only if you need to script the insertion of the table for some reason. The Insert Table button or menu item will suffice for most users.