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

Volar tread input of attribute as adding element (添加html 元素属性默认被认为是添加子元素 #2368

Closed
extrame opened this issue Feb 9, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@extrame
Copy link

extrame commented Feb 9, 2023

样例(example):
image

上述输入后,会默认展开为(auto expanded as)

  <el-card <head></head>>

   </el-card>

这不符合语法吧?

在元素的这个位置,应该直接可以判定成为输入属性啊,不应该是展开了子元素的逻辑

Apparently, It should be a location of attribute, I don't think sub-element is legal in here, why volar prefered it should be expanded as element definition?

@johnsoncodehk
Copy link
Member

Duplicate of #1329

@johnsoncodehk johnsoncodehk marked this as a duplicate of #1329 Feb 19, 2023
@johnsoncodehk johnsoncodehk closed this as not planned Won't fix, can't repro, duplicate, stale Feb 19, 2023
@johnsoncodehk johnsoncodehk added the duplicate This issue or pull request already exists label Feb 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants