Opened 12 years ago

Closed 12 years ago

#665 closed defect (fixed)

problem with toolbar images if page direction is set to RTL

Reported by: anonymous Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version:
Severity: normal Keywords:
Cc:

Description

Hi,

If the web page direction (<body dir="RTL">) is set to RTL, the xinha editor appear without the toolbar images.

Can you help please.

Thanks

Change History (3)

comment:1 Changed 12 years ago by fayez2

Hi I tried the solution posted on ticket #510 but it did not work?

Can you please show an explained procedure of fixing that?

Thanks

comment:2 Changed 12 years ago by Dick Mansfield

Watch ticket #700 for the reason of the bug.
It takes some work (not too bad) but solves the problem.
You have to go to the this.btnList function in htmlarea.js (search for ed_buttons_main.gif in the script).
Also, have a look in the /images folder where all the button gif's are found.
Now in htmlarea.js replace all instances that use "ed_buttons_main.gif" and replace them with the corresponding buttonface gif from /images.
for example, if the line with the "copy" button contains:

ed_buttons_main.gif,4,0?

change that to:

"ed_copy.gif" (strip the square brackets - you don't need them)

do this for all buttons.

you will also have to change the "fullscreen" plugin (in /plugins) which also uses the ed_buttons_main.gif for its two buttons.

success, Dick.

comment:3 Changed 12 years ago by gocher

  • Resolution set to fixed
  • Status changed from new to closed

Changeset 483

Note: See TracTickets for help on using tickets.