Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix indentWithTab prop description #483

Merged

Conversation

lloydlobo
Copy link
Contributor

Fix indentWithTab prop description

Description

The indentWithTab prop description in the ReactCodeMirrorProps interface was updated to accurately reflect its behavior.

The description for indentWithTab seems to be incorrect, as it duplicated the description of the basicSetup prop

Changes Made

  • Updated the indentWithTab prop description to:

    Controls whether pressing the `Tab` key inserts a tab character and indents the text (`true`) 
    or behaves according to the browser's default behavior (`false`).

The description for the `indentWithTab` prop in the `ReactCodeMirrorProps` interface was incorrect, as it duplicated the description of the `basicSetup` prop
This commit updates the indentWithTab prop description in the ReactCodeMirrorProps interface, reflecting the changes made in `core/index.tsx`. 

The updated description correctly explains that the prop controls whether pressing the `Tab` key inserts a tab character and indents the text (`true`) or behaves according to the browser's default behavior (`false`).
@lloydlobo lloydlobo marked this pull request as ready for review April 2, 2023 11:42
@jaywcjlove jaywcjlove merged commit ff629d7 into uiwjs:master Apr 2, 2023
@jaywcjlove
Copy link
Member

@lloydlobo thx!

github-actions bot pushed a commit that referenced this pull request Apr 2, 2023
* docs: fix indentWithTab prop description

The description for the `indentWithTab` prop in the `ReactCodeMirrorProps` interface was incorrect, as it duplicated the description of the `basicSetup` prop

* docs: fix indentWithTab prop description

This commit updates the indentWithTab prop description in the ReactCodeMirrorProps interface, reflecting the changes made in `core/index.tsx`.

The updated description correctly explains that the prop controls whether pressing the `Tab` key inserts a tab character and indents the text (`true`) or behaves according to the browser's default behavior (`false`). ff629d7
@lloydlobo
Copy link
Contributor Author

@jaywcjlove you're welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants