mirror of
https://github.com/codex-team/editor.js
synced 2024-06-09 09:22:16 +02:00
Update search-input.ts
This commit is contained in:
parent
745aca31bc
commit
f9dfae9759
|
@ -128,10 +128,6 @@ export default class SearchInput {
|
|||
tabIndex: -1,
|
||||
}) as HTMLInputElement;
|
||||
|
||||
if (import.meta.env.MODE === 'test') {
|
||||
this.input.setAttribute('data-cy', 'search-input');
|
||||
}
|
||||
|
||||
this.wrapper.appendChild(iconWrapper);
|
||||
this.wrapper.appendChild(this.input);
|
||||
|
||||
|
|
Loading…
Reference in a new issue