@codemirror/lang-html
Advanced tools
Changelog
0.19.4 (2021-11-30)
Fix an issue where autoclosing a tag directly in front of alphanumeric text would include nonsense text in the completed tag name.
Changelog
0.19.3 (2021-09-23)
The package now exports a completion source function, rather than a prebuilt completion extension.
Use more specific highlighting tags for attribute names and values.
Changelog
0.19.2 (2021-09-21)
The new autoCloseTags
extension (included by default in html()
) finishes closing tags when you type a >
or /
character.
Changelog
0.19.0 (2021-08-11)
Improve autocompletion in/after unclosed opening tags.
html()
now takes a matchClosingTags
option to turn off closing tag matching.
Changelog
0.18.1 (2021-05-05)
Fix an issue where the completer would sometimes try to complete an opening tag to its own close tag.
Fix a bug that would sometimes produce the wrong indentation in HTML elements.
Fix a bug that broke tag-specific attribute completion in tags like <input>
or <script>
.
Move a new version of lezer-html which solves some issues with autocompletion.
Changelog
0.18.0 (2021-03-03)
Improves indentation at end of implicitly closed elements.