Skip to content

fix: maxRows and maxCols typo#183

Open
okesseko wants to merge 2 commits into
editor-js:masterfrom
okesseko:master
Open

fix: maxRows and maxCols typo#183
okesseko wants to merge 2 commits into
editor-js:masterfrom
okesseko:master

Conversation

@okesseko

Copy link
Copy Markdown

In the documentation, the configuration options are defined as maxRows and maxCols,
which should control the maximum number of rows and columns in the table.

Config Params

Field Type Description
maxRows number maximum number of rows. 5 by params
maxCols number maximum number of columns. 5 by params

However, in the current source code these variables are defined as maxrows and maxcols (all lowercase).
As a result, the user-provided settings maxRows and maxCols do not work properly.

This PR aligns the source code with the documented configuration by updating the variable names
to maxRows and maxCols.

@neSpecc neSpecc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please, increment a patch version

@okesseko

Copy link
Copy Markdown
Author

please, increment a patch version

Updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants