Commit Graph

11 Commits

Author SHA1 Message Date
Rostislav Wolny
43f7542c64 Improve the look of labels in the save items popup in the editor
[MAILPOET-6335]
2024-12-17 10:36:39 +01:00
Rostislav Wolny
e181725127 Change the texts in the component with changes to save to match email context
This should be removed after the upstream
contextualize the template texts to match associated post types or uses more generic texts.
See https://github.com/WordPress/gutenberg/issues/67697
[MAILPOET-6342]
2024-12-09 14:16:04 +01:00
Rostislav Wolny
4b761ac74d Cleanup SaveEmailButton to work only with email
[MAILPOET-6342]
2024-12-09 14:16:04 +01:00
Rostislav Wolny
2e52419ffd Add save all button and logic for displaying it in the header
[MAILPOET-6342]
2024-12-09 14:16:04 +01:00
Rostislav Wolny
5b443027bf Rename SaveButton to SaveEmailButton
This component will be used for saving changes only in email content.
It is a link variant button and will still be present next to Save/Send button.
[MAILPOET-6342]
2024-12-09 14:16:04 +01:00
Rostislav Wolny
45e0e56389 Hide command palette shortcut
[MAILPOET-6336]
2024-12-06 12:21:19 +01:00
Rostislav Wolny
ab00d505b9 Replace logic for detection of editor mode by the useEditorMode hook
[MAILPOET-6336]
2024-12-06 12:21:19 +01:00
Rostislav Wolny
d8a3289414 Remove unnecessary unlock of editor settings
The selector is public.
[MAILPOET-6319]
2024-11-26 16:44:11 +01:00
Rostislav Wolny
da5e90a429 Refactor .scss files import to one place
This approach is used in the Gutenberg repository.
Our original approach, where we imported styles in index files in subdirectories, was a bit fragile
because such a file might be skipped in case a component is imported directly.

[MAILPOET-6320]
2024-11-14 17:28:53 +02:00
Oluwaseun Olorunsola
f945ea8388 Use @wordpress/editor store with email editor components
MAILPOET-6303
2024-11-12 15:41:23 +01:00
Oluwaseun Olorunsola
1c3ea9cd0a Move email editor components out of the engine folder
MAILPOET-6215
2024-11-11 11:53:49 +02:00