* Disable markdown keybindings within codeblocks
Addresses a usability issue where certain keyboard combinations, primarily used in nordic keyboard layouts, conflict with markdown shortcuts in the editor. This is especially problematic when trying to write characters like \, {, or }.
Given that markdown rendering does not happen within code blocks, this commit disables markdown shortcuts in those regions to allow for normal text entry.
Related Issue: #22370
* Added test suite
* Add test to ensure isWithinCodeBlock is stateless
* Disable markdown keybindings within codeblocks for advanced_create_comment
* Fix linting issues