fix(wysiwyg):Improve Wysiwyg editor

This commit is contained in:
Juergen Kunz
2025-06-24 13:41:12 +00:00
parent 08a4c361fa
commit 4b2178cedd
13 changed files with 581 additions and 349 deletions

View File

@ -0,0 +1,27 @@
/**
* Shared constants for the WYSIWYG editor
*/
/**
* Available programming languages for code blocks
*/
export const PROGRAMMING_LANGUAGES = [
'JavaScript',
'TypeScript',
'Python',
'Java',
'C++',
'C#',
'Go',
'Rust',
'HTML',
'CSS',
'SQL',
'Shell',
'JSON',
'YAML',
'Markdown',
'Plain Text'
] as const;
export type ProgrammingLanguage = typeof PROGRAMMING_LANGUAGES[number];