Variable: insertTable$

Const insertTable$: NodeRef<{ columns?: number ; rows?: number }>

A signal that will insert a table with the published amount of rows and columns into the active editor.

Example

const insertTable = usePublisher(insertTable$)
// ...
insertTable({ rows: 3, columns: 4 })