mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 07:04:45 -04:00
Restructure click shield (#1611)
* Rename one-click-embedding to click shield * Removes the static fallback image from the vimeo frame. The set URL is broken. * Adds the ability to define background colors for the click shield background Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
c731c0e9f1
commit
e9defd60dc
13 changed files with 209 additions and 155 deletions
|
@ -37,10 +37,10 @@ describe('Short code gets replaced or rendered: ', () => {
|
|||
})
|
||||
|
||||
describe('youtube', () => {
|
||||
it('renders one-click-embedding', () => {
|
||||
it('renders click-shield', () => {
|
||||
cy.setCodemirrorContent(`{%youtube YE7VzlLtp-4 %}`)
|
||||
cy.getMarkdownBody()
|
||||
.find('.one-click-embedding.embed-responsive-item')
|
||||
.find('[data-cypress-id="click-shield-youtube"]')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue