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 +1 -1
- package/packages/core/dist/index.d.ts +5 -1
- package/packages/core/dist/index.js +1198 -1120
- package/packages/core/dist/index.js.map +1 -1
- package/packages/core/src/editor/Canvas.ts +1 -1
- package/packages/core/src/editor/Editor.ts +22 -3
- package/packages/core/src/editor/InlineEditor.ts +186 -64
- package/packages/core/src/editor/RichTextToolbar.ts +16 -2
- package/packages/core/src/editor/RightPanel.ts +0 -9
- package/packages/core/src/i18n/index.ts +0 -2
- package/packages/core/src/types.ts +5 -1
package/package.json
CHANGED
|
@@ -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 等别名) */
|