Closed hurricane1998 closed 17 hours ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Origin Title: [Bug] Error when i use UniverSheetsConditionalFormattingPreset and UniverPresetSheetsConditionalFormattingZhCN
Title: [Bug] Error when i use UniverSheetsConditionalFormattingPreset and UniverPresetSheetsConditionalFormattingZhCN
0.5.0 and 0.5.1
Maybe you should expose UniverPresetSheetsConditionalFormattingZhCN and UniverSheetsConditionalFormattingPreset on window like UniverPresetSheetsCore?
No response
You did not import the conditional formatting package.
I used a umd js, do I still need to import it by myself?I can't find how to import the conditional formatting package.
Yes, you should import the corresponding preset package as needed.
https://unpkg.com/@univerjs/preset-sheets-conditional-formatting@0.5.1/lib/umd/index.js
ok,thank you very much! I will try it tomorrow.
Before you submit this issue, have you checked the following
Affected packages and versions
0.5.0 and 0.5.1
Reproduction link
Expected behavior
Maybe you should expose UniverPresetSheetsConditionalFormattingZhCN and UniverSheetsConditionalFormattingPreset on window like UniverPresetSheetsCore?
Actual behavior
System information
No response