Skip to content

Commit

Permalink
add custom input
Browse files Browse the repository at this point in the history
  • Loading branch information
dobri1408 committed Apr 16, 2024
1 parent 3911681 commit 2bdb31e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe('ControlPanel: Dexterity Content-Types Layout', () => {
cy.get('.block.title').contains('Book title');
cy.get('.block.slate').contains('About this book');
cy.get('.toolbar-inner .buttons').first().next().next().click();
cy.get('.ui.input.editor-link.input-anchorlink-theme')
cy.get('.ui.input.editor-link.input-anchorlink-theme input')
.should('have.attr', 'placeholder')
.and('match', /Book cover image/);
cy.getSlateTitle()
Expand Down
2 changes: 1 addition & 1 deletion packages/volto/src/components/manage/Blocks/Image/Edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function Edit(props) {
) : (
<ImageInput
onChange={handleChange}
placeholderLinkInput={props.placeholder}
placeholderLinkInput={data.placeholder}
/>
)}
<SidebarPortal selected={props.selected}>
Expand Down

0 comments on commit 2bdb31e

Please sign in to comment.