1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-10-31 00:07:48 +02:00

Mobile, Desktop: Fixes #3991: Added RTL support for Markdown editor and Preview. (#4822)

This commit is contained in:
Ahmad Mamdouh
2021-04-30 17:03:03 +02:00
committed by GitHub
parent 9a043bfca5
commit 92b4b967d9
2 changed files with 14 additions and 0 deletions

View File

@@ -30,6 +30,14 @@
background: #CF3F00;
color: white;
}
/*
Adds support for RTL text in the note body. It automatically detects the direction using the content.
Issue: https://github.com/laurent22/joplin/issues/3991
*/
.CodeMirror-line {
unicode-bidi: plaintext;
}
</style>
</head>
<body>

View File

@@ -80,6 +80,12 @@ export default function(theme: any) {
p, h1, h2, h3, h4, h5, h6, ul, table {
margin-top: .6em;
margin-bottom: .65em;
/*
Adds support for RTL text in the note body. It automatically detects the direction using the content.
Issue: https://github.com/laurent22/joplin/issues/3991
*/
unicode-bidi: plaintext;
}
h1, h2, h3, h4, h5, h6 {
line-height: 1.5em;