Skip to content

Commit

Permalink
Allow javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
simoheinonen committed Jul 4, 2023
1 parent 022358a commit f1b1ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Field/CodeEditorField.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class CodeEditorField implements FieldInterface
public const OPTION_TAB_SIZE = 'tabSize';
public const OPTION_SHOW_LINE_NUMBERS = 'showLineNumbers';

private const ALLOWED_LANGUAGES = ['css', 'dockerfile', 'js', 'markdown', 'nginx', 'php', 'shell', 'sql', 'twig', 'xml', 'yaml-frontmatter', 'yaml'];
private const ALLOWED_LANGUAGES = ['css', 'dockerfile', 'js', 'javascript', 'markdown', 'nginx', 'php', 'shell', 'sql', 'twig', 'xml', 'yaml-frontmatter', 'yaml'];

/**
* @param TranslatableInterface|string|false|null $label
Expand Down

0 comments on commit f1b1ca4

Please sign in to comment.