Min / Max Rows

You can set a limit of minimum and maximum rows that can be added in the editor. This is particularly useful in some cases where you want to restrict the number of rows.

unlayer.init({
  editor: {
    minRows: 1,
    maxRows: 2
  }
})