mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Adding RTL to templates
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
(function ($) {
|
||||
var initializeEditor = function () {
|
||||
var textArea = $(".code-editor")[0];
|
||||
var editor = CodeMirror.fromTextArea(textArea, {
|
||||
CodeMirror.fromTextArea(textArea, {
|
||||
lineNumbers: true,
|
||||
mode: "application/x-ejs",
|
||||
indentUnit: 4,
|
||||
@@ -9,7 +9,8 @@
|
||||
enterMode: "keep",
|
||||
tabMode: "shift",
|
||||
theme: "default",
|
||||
autoCloseTags: true
|
||||
autoCloseTags: true,
|
||||
rtlMoveVisually: window.isRtl
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user