xanld
xanld

Reputation: 1067

summernote table add row

I've just worked my way through a summernote configuration only to find at the last minute that once you insert a table, it's not possible to change the number of rows or columns. And the editor only supports tables up to 10x10.

For me this makes the table editor in summernote redundant. This issue is reported at https://github.com/summernote/summernote/issues/93

However, there doesn't seem to be any progress on fixing it. Summernote has a lot of forks - has anybody forked and fixed this issue?

Upvotes: 1

Views: 5175

Answers (2)

Adnan Ahmad
Adnan Ahmad

Reputation: 888

Try following code.

  $('#summer-note').summernote({
   // insertTable max size
   insertTableMaxSize: {
     col: 20,
     row: 20
   },
 });

Upvotes: 1

user1320651
user1320651

Reputation: 836

Looks like a pull request is there. Have a look its not my work but a good start. https://github.com/summernote/summernote/pull/1311

Upvotes: 0

Related Questions