Skip to content

[html] Format onPaste issues with HTML #21218

@HunterMitchell

Description

@HunterMitchell
  • VSCode Version: Code 1.9.1 (f9d0c68, 2017-02-09T00:26:45.394Z)
  • OS Version: Windows_NT ia32 10.0.14393

Steps to Reproduce:

  1. Create an HTML document like below
    image

  2. Copy the nested-content div
    image

  3. Since we copied the spacing on the left (along with the text), we should be able to place our cursor to the very left and paste (or even just paste). Instead of the correct formatting we get something like this:
    image

    or this (without moving the text cursor)
    image

I assume this is an issue with the newer format feature, but I could be wrong.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bughtmlHTML support issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions