Update email editor mailpoet sidebar implementation

MAILPOET-6431
This commit is contained in:
Oluwaseun Olorunsola
2025-02-04 17:48:35 +01:00
committed by Oluwaseun Olorunsola
parent aa17e90365
commit 9ad79e75b5
4 changed files with 70 additions and 78 deletions

View File

@ -9,10 +9,11 @@ import { applyFilters } from '@wordpress/hooks';
* Internal dependencies
*/
import { recordEvent } from '../../events';
import { RichTextWithButton } from '../personalization-tags/rich-text-with-button';
const SidebarExtensionComponent = applyFilters(
'mailpoet_email_editor_setting_sidebar_extension_component',
<br />
RichTextWithButton
) as JSX.Element;
export function DetailsPanel() {

View File

@ -210,13 +210,6 @@ export type State = {
};
};
export type MailPoetEmailData = {
id: number;
subject: string;
preheader: string;
preview_url: string;
};
export type EmailTemplate = {
id: string;
slug: string;