Codemirror greck support

This commit is contained in:
Fred Tempez 2023-02-17 16:24:11 +01:00
parent 29b825bfbb
commit 465fde6611
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
.CodeMirror { .CodeMirror {
/* Set height, width, borders, and global font properties here */ /* Set height, width, borders, and global font properties here */
font-family: monospace; font-family: Arial, monospace;
height: 300px; height: 300px;
color: black; color: black;
direction: ltr; direction: ltr;

View File

@ -73,9 +73,9 @@ tinymce.init({
config: { // CodeMirror config object config: { // CodeMirror config object
fullscreen: true, fullscreen: true,
/*mode: 'application/x-httpd-php',*/ /*mode: 'application/x-httpd-php',*/
indentUnit: 4,
lineNumbers: true, lineNumbers: true,
mode: "htmlmixed", indentUnit: 4,
mode: "htmlmixed"
}, },
jsFiles: [ jsFiles: [
'mode/php/php.js', 'mode/php/php.js',

View File

@ -2,7 +2,7 @@
.CodeMirror { .CodeMirror {
/* Set height, width, borders, and global font properties here */ /* Set height, width, borders, and global font properties here */
font-family: monospace; font-family: Arial, monospace;
height: 300px; height: 300px;
} }
.CodeMirror-scroll { .CodeMirror-scroll {