mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-29 18:19:53 +08:00
Merge pull request #8892 from filamentphp/fix/markdown-rtl-8863
Fix Markdown editor rtl support
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
+8
-8
File diff suppressed because one or more lines are too long
+3
-3
File diff suppressed because one or more lines are too long
Vendored
+2
-2
@@ -2,13 +2,13 @@ input::-webkit-datetime-edit{display:block;padding:0}.cropper-container{directio
|
||||
|
||||
cropperjs/dist/cropper.min.css:
|
||||
(*!
|
||||
* Cropper.js v1.6.1
|
||||
* Cropper.js v1.5.13
|
||||
* https://fengyuanchen.github.io/cropperjs
|
||||
*
|
||||
* Copyright 2015-present Chen Fengyuan
|
||||
* Released under the MIT license
|
||||
*
|
||||
* Date: 2023-09-17T03:44:17.565Z
|
||||
* Date: 2022-11-20T05:30:43.444Z
|
||||
*)
|
||||
|
||||
filepond/dist/filepond.min.css:
|
||||
|
||||
@@ -120,6 +120,11 @@ export default function markdownEditorFormComponent({
|
||||
uploadImage: true,
|
||||
})
|
||||
|
||||
this.editor.codemirror.setOption(
|
||||
'direction',
|
||||
document.documentElement?.dir ?? 'ltr',
|
||||
)
|
||||
|
||||
// When creating a link, highlight the URL instead of the label:
|
||||
this.editor.codemirror.on('changes', (instance, changes) => {
|
||||
try {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+7
-7
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user