mail-editor-pancake 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mail-editor-pancake",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "private": false,
5
5
  "description": "面向运营的轻量邮件可视化编辑器",
6
6
  "devDependencies": {
@@ -396,8 +396,12 @@ export declare interface GalleryItem {
396
396
  export declare function getSectionDynamicVariantKey(section: Section): string | undefined;
397
397
 
398
398
  export declare interface GlobalStyles {
399
+ /**
400
+ * 邮件背景色:导出时写入 `<mj-body background-color>`,画布内容纸取同一值。
401
+ * 旧字段 `contentBackgroundColor`(内容背景)已废弃并合并到此处,
402
+ * 由 `createDefaultDoc` 在读入旧文档时迁移。
403
+ */
399
404
  backgroundColor: string;
400
- contentBackgroundColor: string;
401
405
  fontFamily: string;
402
406
  fontSize: string;
403
407
  /** 全局字重:数值档 300 | 400 | 500 | 600 | 700(兼容读写 normal / bold 等别名) */