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

fix: do not auto focus js editor #598

Merged
merged 1 commit into from
Aug 16, 2021
Merged

fix: do not auto focus js editor #598

merged 1 commit into from
Aug 16, 2021

Conversation

schalkneethling
Copy link

Do not auto focus JS editor

fix #593

Do not auto focus JS editor

fix #593
Copy link
Contributor

@peterbe peterbe left a comment

Choose a reason for hiding this comment

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

Here's how I tested it:

  1. Go to interactive-examples repo and manually apply this change to node_modules/mdn-bob/editor/js/editable-js.js
  2. Run yarn build and yarn start-server
  3. Go to yari repo and type: BUILD_INTERACTIVE_EXAMPLES_BASE_URL=http://localhost:9090 yarn dev
  4. Visit http://localhost:3000/en-US/docs/Web/JavaScript/Reference/Statements/throw and observe

@peterbe peterbe merged commit e64fee8 into mdn:master Aug 16, 2021
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.

Forced focus to example textbox on every (?) page can't be escaped?
2 participants