Skip to content

Conversation

@rakesh2OO5
Copy link

Summary

Adds an optional tab indentation toggle to the CodeEmbed editor while preserving accessible keyboard navigation.

Changes

  • Added checkbox to enable/disable tab indentation
  • Enabled tab indentation using CodeMirror keymap
  • Prevented keyboard focus trap when indentation is disabled
  • Added Escape key handling to exit the editor

Testing

  • Tested locally using npm start
  • Verified keyboard navigation and indentation behavior

Fixes #705

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.

Tab behavior toggle for website code editor convenience

1 participant