| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 10318|Reply: 7
Collapse the left

arabic editor bug

[Copy link]

 Saudi Arabia

Post time: 2012-02-28 16:27
| Show all posts |Read mode
hi all
in editor must reverse all pop-up
السلام عليكم في المحرر يجب عكس اتجاه المستطيلات الخاصة بازرار المحرر
مثلا عند توسيع الاستايل والضغط على اضافة رابط لا يختفي نصف المستطيل الخاص باضافة الرابط
اعتقد يجب تغير في جميع الازرار وعكس اتجاهها او على الاقل الازرار القريبه من يمين الشاشه

اترككم مع الصوره للتوضيح اكثر




This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Palestine

Post time: 2012-02-28 18:10
| Show all posts
سيتم حل المشكلة
Post time: 2012-02-28 21:28
| Show all posts
تم تعديله بواسطة  charafweb في  2012-2-28 18:33

أي متصفح تا أخي تستعمل؟ لم أستطع إعادة المشكل المطروح لديك (الخاص بإضافة رابط).
و لكن هناك مشكل مماثل لما ذكرت فيما يخص لائحة الخطوط


What browser are you using? I can't reproduce the same prob (adding url).
I found a similar prob in the font drop down menu.

Post time: 2012-02-29 00:01
| Show all posts
Edited by charafweb at 2012-2-28 21:04

I tried to resolve mentioned problem, but i found that there are some inline style sheets (incorporated into templates), that make it hard to adjust buggy elements. Changing these inline style sheets (to accommodate RTL style) will affect the LTR style...

for example the "add url menu" is styled with this inline style sheet:
  1. <div id="e_url_menu" [b]style="width: 270px; position: absolute; z-index: 301; cursor: move; top: 48px; left: 1096px;"[/b] class="p_pof upf" initialized="true">
Copy the Code
We have to edit this > left: 1096px
But we can't because it'll affect the ltr style.
We can do a rush solution like this: adding this line at the end of common_rtl.css:

#e_url_menu{right: 120px !important;} /*This for the "add url menu"*/
#e_fontname_menu{right: 10px !important;} /*This for the font menu*/

This works great in chrome but not in firefox that gives the priority for "inline style sheets" (even if we add !important hack)!!!

It would be easier if all style sheets are stored in css files instead of  templates

 Saudi Arabia

 Author| Post time: 2012-02-29 00:15
| Show all posts
استخدم متصفح فايرفوكس
جرب غير المنتدى الى الاستايل الواسع
وادخل الوضع المتطور وجرب ضيف رابط
بيختفي نصف المستطيل

 Russia

Post time: 2012-02-29 07:34
| Show all posts
i found that there are some inline style sheets (incorporated into templates), that make it hard to adjust buggy elements.

There are a lot of such problems in X2

What to do:
1) Add a new style class name to the element.
2) Move the style parameters from template to corresponding existing .css file (separate LTR and RTL).
Post time: 2012-02-29 14:53
| Show all posts
There are a lot of such problems in X2


Worse, some styles are handled by javascript and not embedded into htm files (template) , and this is the case of the editor, which is handled by static\js\editor.js
I tried to prepare a correct solution for this, but it's beyond my skills

 Russia

Post time: 2012-03-01 08:48
| Show all posts
If you have a troble,
just prepare a list of such type style definitions!
What the file, what the built-in style used...
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-24 01:20 GMT+3 , Processed in 0.073550 sec., 9 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list