refactor(ckeditor): use vite environment variables for inspector

This commit is contained in:
Elian Doran
2025-06-16 22:01:05 +03:00
parent 88f78f3e32
commit bbeb4e25f3
4 changed files with 6 additions and 3 deletions

View File

@@ -7,6 +7,8 @@ interface ViteTypeOptions {
interface ImportMetaEnv {
/** The license key for CKEditor premium features. */
readonly VITE_CKEDITOR_KEY?: string;
/** Whether to enable the CKEditor inspector (see https://ckeditor.com/docs/ckeditor5/latest/framework/develpment-tools/inspector.html). */
readonly VITE_CKEDITOR_ENABLE_INSPECTOR?: "true" | "false";
}
interface ImportMeta {