Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ If CKEditor needs upgrading use CKEditor's builder tool to build new package: ht
Builder tool has option to upload existing build-config.js to create bundle with all previously selected plugins and features. Use build-config.js from public/ckditor/build-config.js to ensure that new build contains same features as the previous one.

After building new zip bundle, replace ckeditor folder from public -folder with one from the zip and you are done.

6 changes: 5 additions & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,11 @@ export enum AvailableFonts {
SOURCE_SANS_PRO_ITALIC = "Source-Sans-Pro-Italic",
SOURCE_SANS_PRO_BOLD_ITALIC = "Source-Sans-Pro-BoldItalic",
SOURCE_SANS_PRO_SEMI_BOLD = "Source-Sans-Pro-SemiBold",
SOURCE_SANS_PRO_SEMI_BOLD_ITALIC = "Source-Sans-Pro-SemiBoldItalic"
SOURCE_SANS_PRO_SEMI_BOLD_ITALIC = "Source-Sans-Pro-SemiBoldItalic",
LIBRE_BASKERVILLE_REGULAR = "Libre-Baskerville-Regular",
LIBRE_BASKERVILLE_ITALIC = "Libre-Baskerville-Italic",
NOTO_SANS_REGULAR = "Noto-Sans-Regular",
NOTO_SANS_BOLD = "Noto-Sans-Bold"
}

/**
Expand Down
7 changes: 5 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,11 @@ const getDefine = async ({ mode }: UserConfig) => {

// biome-ignore lint/suspicious/noExplicitAny: <explanation>
return Object.entries(secrets).reduce((acc: any, [key, value]) => {
const envKey = `import.meta.env.${key}`;
acc[envKey] = JSON.stringify(value);
if (key.startsWith("VITE_")) {
const envKey = `import.meta.env.${key}`;
acc[envKey] = JSON.stringify(value);
}

return acc;
}, {});
};
Expand Down