
Edit Style - LESS & CSS (RTL issue)
-
- Fixed
- 2.0.x/4.0.x
- Sami
-
-
Hi
I just commited a change that should fix this issue (it forces LTR for the editor). But I have no idea how well it works with a real RTL language and arabic words inside the editor. You might want to check it out before: https://github.com/WoltLab/WCF…467bb61b857b444aa682cc56e
Add the green lines to the wcf/style/layout.less and clear the cache in your ACP. -
Hi
I just commited a change that should fix this issue (it forces LTR for the editor). But I have no idea how well it works with a real RTL language and arabic words inside the editor. You might want to check it out before: https://github.com/WoltLab/WCF…467bb61b857b444aa682cc56e
Add the green lines to the wcf/style/layout.less and clear the cache in your ACP.Still the same after i clear the cache..
-
Try deleting the layout.less css file from host end before you upload it again (rather than overwrite it). Try going into the cache folder (wfc/cache) as well and delete all cache files listed manually but make sure you don't delete the htaccess file in it
-
Try deleting the layout.less css file from host end before you upload it again (rather than overwrite it). Try going into the cache folder (wfc/cache) as well and delete all cache files listed manually but make sure you don't delete the htaccess file in it
i have already made this. Anyway i found a way:
The file is Codemirror.css
if you edit this file and add
direction: ltr;
CSS.CodeMirror-wrap pre { word-wrap: break-word; white-space: pre-wrap; word-break: normal; direction: ltr; }
then it will be okay... -
Hi
Try going into the cache folder (wfc/cache) as well and delete all cache files listed manually but make sure you don't delete the htaccess file in it
This one is the wrong place. One has to remove the wcf/acp/style/*.css files (the function in the ACP will do this as well).
The file is Codemirror.css
if you edit this file and add
direction: ltr;
That's basically what my change is doing. It's just not modifying a third party file. Great that it works.
-
That's basically what my change is doing. It's just not modifying a third party file. Great that it works.
But it did not work when i made editing in the layout.less ?!
-
Hi
But it did not work when i made editing in the layout.less ?!
maybe the old version still resided in your browser cache? I tested that the change was correctly applied, I just was unsure whether it would fix the actual issue, as I don't understand any RTL language
-
it works perfect now. Thank you.. I hope it will be fixed for the next version.
-
Hi
I hope it will be fixed for the next version.
it is already commited for the next update within our version control system.
-
Hi
it is already commited for the next update within our version control system.
That is amazing support
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!