fix(wysiwyg):Improve Wysiwyg editor
This commit is contained in:
@@ -2,6 +2,7 @@ import { html, type TemplateResult } from '@design.estate/dees-element';
|
||||
import { DeesModal } from '../dees-modal.js';
|
||||
import { type IBlock } from './wysiwyg.types.js';
|
||||
import { WysiwygShortcuts } from './wysiwyg.shortcuts.js';
|
||||
import { PROGRAMMING_LANGUAGES } from './wysiwyg.constants.js';
|
||||
|
||||
export class WysiwygModalManager {
|
||||
/**
|
||||
@@ -207,11 +208,7 @@ export class WysiwygModalManager {
|
||||
* Gets available programming languages
|
||||
*/
|
||||
private static getLanguages(): string[] {
|
||||
return [
|
||||
'JavaScript', 'TypeScript', 'Python', 'Java',
|
||||
'C++', 'C#', 'Go', 'Rust', 'HTML', 'CSS',
|
||||
'SQL', 'Shell', 'JSON', 'YAML', 'Markdown', 'Plain Text'
|
||||
];
|
||||
return [...PROGRAMMING_LANGUAGES];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user