@codemirror/lang-html
Advanced tools
Comparing version 6.4.7 to 6.4.8
@@ -0,1 +1,7 @@ | ||
## 6.4.8 (2024-01-23) | ||
### Bug fixes | ||
Complete attribute names after whitespace in a tag even when completion isn't explicitly triggered. | ||
## 6.4.7 (2023-11-27) | ||
@@ -2,0 +8,0 @@ |
@@ -117,2 +117,2 @@ import * as _codemirror_state from '@codemirror/state'; | ||
export { TagSpec, autoCloseTags, html, htmlCompletionSource, htmlCompletionSourceWith, htmlLanguage, htmlPlain }; | ||
export { type TagSpec, autoCloseTags, html, htmlCompletionSource, htmlCompletionSourceWith, htmlLanguage, htmlPlain }; |
@@ -471,3 +471,3 @@ import { parser, configureNesting } from '@lezer/html'; | ||
} | ||
else if (context.explicit && (tree.name == "OpenTag" || tree.name == "SelfClosingTag") || tree.name == "AttributeName") { | ||
else if (tree.name == "OpenTag" || tree.name == "SelfClosingTag" || tree.name == "AttributeName") { | ||
return completeAttrName(state, schema, tree, tree.name == "AttributeName" ? tree.from : pos, pos); | ||
@@ -474,0 +474,0 @@ } |
{ | ||
"name": "@codemirror/lang-html", | ||
"version": "6.4.7", | ||
"version": "6.4.8", | ||
"description": "HTML language support for the CodeMirror code editor", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
78252