diff --git a/kafka-ui-react-app/src/components/Topics/Topic/Details/Messages/Filters/AddEditFilterContainer.tsx b/kafka-ui-react-app/src/components/Topics/Topic/Details/Messages/Filters/AddEditFilterContainer.tsx index 8f710cb8f54..fcb0da429d1 100644 --- a/kafka-ui-react-app/src/components/Topics/Topic/Details/Messages/Filters/AddEditFilterContainer.tsx +++ b/kafka-ui-react-app/src/components/Topics/Topic/Details/Messages/Filters/AddEditFilterContainer.tsx @@ -2,12 +2,12 @@ import React from 'react'; import * as S from 'components/Topics/Topic/Details/Messages/Filters/Filters.styled'; import { InputLabel } from 'components/common/Input/InputLabel.styled'; import Input from 'components/common/Input/Input'; -import { Textarea } from 'components/common/Textbox/Textarea.styled'; import { FormProvider, Controller, useForm } from 'react-hook-form'; import { ErrorMessage } from '@hookform/error-message'; import { Button } from 'components/common/Button/Button'; import { FormError } from 'components/common/Input/Input.styled'; import { AddMessageFilters } from 'components/Topics/Topic/Details/Messages/Filters/AddFilter'; +import Editor from 'components/common/Editor/Editor'; import { yupResolver } from '@hookform/resolvers/yup'; import yup from 'lib/yupExtended'; @@ -66,8 +66,16 @@ const AddEditFilterContainer: React.FC = ({ control={control} name="code" defaultValue={inputCodeDefaultValue} - render={({ field: { onChange, ref } }) => ( -