Upgrade CodeMirror and Lezer dependencies (#30615)

* Upgrade CodeMirror and Lezer dependencies
* Ensure that BraceWidget and IconBraceWidget always have string content
* Add updateDOM to BraceWidget
* Use pinned versions
* Fix description list decoration

GitOrigin-RevId: 5306f7f09290eb9a2c375e97d33509537f3c5e5f
This commit is contained in:
Alf Eaton
2026-01-15 09:06:05 +00:00
committed by Copybot
parent 291f882aa2
commit 5d16fa207a
6 changed files with 73 additions and 70 deletions
@@ -730,7 +730,7 @@ describe('<CodeMirrorEditor/> in Visual mode', function () {
cy.get('.ol-cm-textcolor')
.should('have.length', 1)
.should('have.text', 'foo')
.should('have.attr', 'style', 'color: rgb(255,0,0)')
.should('have.attr', 'style', 'color: rgb(255, 0, 0);')
})
it('decorates colorbox', function () {
@@ -738,7 +738,7 @@ describe('<CodeMirrorEditor/> in Visual mode', function () {
cy.get('.ol-cm-colorbox')
.should('have.length', 1)
.should('have.text', 'foo')
.should('have.attr', 'style', 'background-color: rgb(255,255,0)')
.should('have.attr', 'style', 'background-color: rgb(255, 255, 0);')
})
})