:feat: refine paragraph/run properties options
This commit is contained in:
@ -582,6 +582,7 @@ describe("CharacterStyle", () => {
|
||||
id: "myStyleId",
|
||||
run: {
|
||||
bold: true,
|
||||
boldComplexScript: false,
|
||||
},
|
||||
});
|
||||
const tree = new Formatter().format(style);
|
||||
@ -610,6 +611,7 @@ describe("CharacterStyle", () => {
|
||||
id: "myStyleId",
|
||||
run: {
|
||||
italics: true,
|
||||
italicsComplexScript: false,
|
||||
},
|
||||
});
|
||||
const tree = new Formatter().format(style);
|
||||
@ -678,6 +680,7 @@ describe("CharacterStyle", () => {
|
||||
id: "myStyleId",
|
||||
run: {
|
||||
highlight: "005599",
|
||||
highlightComplexScript: false,
|
||||
},
|
||||
});
|
||||
const tree = new Formatter().format(style);
|
||||
@ -710,6 +713,7 @@ describe("CharacterStyle", () => {
|
||||
fill: "00FFFF",
|
||||
color: "FF0000",
|
||||
},
|
||||
shadingComplexScript: false,
|
||||
},
|
||||
});
|
||||
const tree = new Formatter().format(style);
|
||||
|
Reference in New Issue
Block a user