Commit Graph

30 Commits

Author SHA1 Message Date
Jan Lysý
50df6c3d4e Use NPS poll in the new email editor
[MAILPOET-5911]
2024-04-15 08:18:35 +02:00
Jan Lysý
a0c1a87e81 Remove redundant code
[MAILPOET-5640]
2024-03-22 17:19:44 +01:00
Jan Lysý
11adf6c324 Pass email editor theme to the state
[MAILPOET-5640]
2024-03-22 17:19:44 +01:00
Mike Jolley
2c43b23803 Update mailpoet/lib/AdminPages/Pages/EmailEditor.php
Co-authored-by: Jan Lysý <lysyjan@users.noreply.github.com>
2024-03-20 10:57:26 +01:00
Mike Jolley
bbd45a5f32 Remove script tags from wpAddInlineScript 2024-03-20 10:57:26 +01:00
Mike Jolley
fab5ff650d Fix syntax error after rebase 2024-03-20 10:57:26 +01:00
Mike Jolley
36c982a0d1 Correct indenting 2024-03-20 10:57:26 +01:00
Mike Jolley
2a830b9f68 Add globals for the premium modal 2024-03-20 10:57:26 +01:00
Mike Jolley
8f81f4a6b1 Use page renderer 2024-03-20 10:57:26 +01:00
Mike Jolley
33cb92a779 Conditionally show footer 2024-03-20 10:57:26 +01:00
Mike Jolley
3fdac58cfd Add image to CDN and canvas 2024-03-20 10:57:26 +01:00
Rostislav Wolny
b9ef6bb258 Add a workaround for fixed toolbar backward compatibility
In WP 6.4 and below is the fixed toolbar rendered within the same
slot as the floating toolbar but is positioned via CSS.

In WP 6.5, the fixed toolbar needs to be rendered in the Header explicitly.
This commit adds a workaround to backward compatibility with WP 6.4 to prevent rendering
two fixed toolbars.

Inspired by 1abf85fb83
[MAILPOET-5907]
2024-03-15 14:43:01 +01:00
Jan Lysý
db8dac03d2 Prepare styles in store for sidebar
[MAILPOET-5638]
2024-03-01 16:36:52 +01:00
Jan Lysý
b71e68d8da Add loading format library styles in email editor
[MAILPOET-5809]
2024-02-19 11:18:58 +01:00
Rostislav Wolny
cc8bb10d8b Add proper body class for the email editor to mark it a block editor
This class is needed so that some CSS rules (e.g. white background, hidden footer)
are applied for WP admin.
[MAILPOET-5854]
2024-01-29 10:52:41 +01:00
Jan Lysý
aa40d7eb7b Set BlockList layout
[MAILPOET-5688]
2023-12-21 13:04:10 +01:00
Jan Lysý
91094fad7c Use layoutStyles in email editor
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Rostislav Wolny
554b862bf3 Enable media upload
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
afe2cd562a Remove unnecessary CSS queueing for the email editor
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
399ed61503 Introduce SettingsController for managing editor settings
[MAILPOET-5637]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
3a88989a84 Rename custom email editor to email editor
[MAILPOET-5637]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
4646214c62 Add send email preview to custom editor
[MAILPOET-5637]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
c04658d9c0 Skip page renderer when rendering email editor
As for now, we will not load mailpoet admin scripts for MailPoet
and other default variables that are used in MailPoet Layout.
This is to prevent unwanted dependencies on the MailPoet plugin.

[MAILPOET-5637]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
4b2e5e8eae Hotfix redirect when creating new email
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Jan Lysý
a07a744707 Rename folders and files by the new lint rule
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
c770901c4f Ensure post exists when loading editor page without postId
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
796df6e1b9 Adjust visual editor css
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
07576b9f79 Render basic block editor with header
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
1919d58973 Add JS build and an index file for the editor app
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
debbeaafdc Add EmailEditor page into MailPoet admin
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00