mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-21 18:55:19 -04:00
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:
parent
2b6ba82b4b
commit
0f31c3b0b4
9 changed files with 171 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue