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

Add keyboard shortcuts in content type builder plugin #337

Closed
wants to merge 8 commits into from

Conversation

soupette
Copy link
Contributor

  • Add option + a to open the Attributes modal

  • Add option + n to open the create content type modal

  • Add option + s to save the content type's attributes

  • Created documentation accordingly

autoFocus={autoFocus}
className={styles.attributeCardContainer}
onClick={() => handleClick(attribute.type)}
style={{ width: '100%' }}
Copy link
Member

Choose a reason for hiding this comment

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

Are you sure need to pass the CSS using props?

@@ -32,16 +32,32 @@ import styles from './styles.scss';
import saga from './sagas';
import reducer from './reducer';

const keyBoardShortCuts = [18, 78];
Copy link
Member

Choose a reason for hiding this comment

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

Add comment on this line

Merge branch 'ctb/keyBoardShortCut' of github.com:strapi/strapi into ctb/keyBoardShortCut
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.

3 participants