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

Razor Development: Pasting Leads to Weird Formatting #10930

Open
vsfeedback opened this issue Sep 26, 2024 · 0 comments
Open

Razor Development: Pasting Leads to Weird Formatting #10930

vsfeedback opened this issue Sep 26, 2024 · 0 comments
Labels
author: migration bot 🤖 The issue was created by a issue mover bot. The author may not be the actual author feature-formatting

Comments

@vsfeedback
Copy link

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


[severity:It's more difficult to complete my work]
Please see the attached recording. I am pasting in a Razor component attribute, and after the paste is completed, an unexpected formatting occurs that leaves the element in an unexpectedstate:

Expected result:

<DragonSpark.Presentation.Components.Content.DisplayRemoteContent 
        Address="@Input.Content.Addresses.Source"
        Alteration="@(IsMarkdownContentType.Default.Get(Input.Content.Addresses.Source.ContentType) ? Markdownify.Default : Self<string>.Default)" />

    <DragonSpark.Presentation.Components.Content.DisplayRemoteContent Address="@Input.Content.Addresses.Source" />

Original Comments

Feedback Bot on 8/22/2024, 06:23 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.

Phil Allen [MSFT] on 9/10/2024, 02:58 PM:

We’re sorry you are running into this. After you end up in this state, does a document format (Ctrl+K, Ctrl+D) make the formatting what you expect or does it remain as it is?

Mike-E-angelo on 9/10/2024, 03:16 PM:

Thank you for your investigation Phil Allen [MSFT] this is what I see:

@dotnet-policy-service dotnet-policy-service bot added untriaged author: migration bot 🤖 The issue was created by a issue mover bot. The author may not be the actual author labels Sep 26, 2024
@phil-allen-msft phil-allen-msft added this to the 17.13 Planning milestone Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author: migration bot 🤖 The issue was created by a issue mover bot. The author may not be the actual author feature-formatting
Projects
None yet
Development

No branches or pull requests

2 participants