Autocompletion and toolbar button for collapsable blocks (#615)

* Add autocompletion for <details construct

* Add toolbar button for <details>-construct

* Added CHANGELOG notice
This commit is contained in:
Erik Michelson 2020-09-30 23:35:10 +02:00 committed by GitHub
parent 2b6ba82b4b
commit 0f31c3b0b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 171 additions and 2 deletions

View file

@ -261,6 +261,13 @@ describe('Toolbar', () => {
.should('have.text', '----')
})
it('collapsable block', () => {
cy.get('.fa-caret-square-o-down')
.click()
cy.get('.CodeMirror-code > div:nth-of-type(2) > .CodeMirror-line > span span')
.should('have.text', '<details>')
})
it('comment', () => {
cy.get('.fa-comment')
.click()