Skip to content

razor editor in blazor: "surround with div" does not work if inside a code block #11686

@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


[severity:It bothers me. A fix would be nice]
The "surround with DIV" is a really useful shortcut, however when working with Blazor code, it does not work if you're inside a code block. please see screen recording

if you move the lines to outside the code block (e.g. using ALT + UP ARROW), it works perfectly. bit annoying to have to do this every single time


Original Comments

Feedback Bot on 3/23/2025, 08:26 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Metadata

Metadata

Assignees

Labels

author: migration bot 🤖The issue was created by a issue mover bot. The author may not be the actual author

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions