mj1919 Publish time 2013-07-29 00:42

automatically generated stars in RTL txt editor

Zuletzt bearbeitet von mj1919 um 2013-7-29 01:47

in this first lines
*i used
*arabic view language
*for writing!!!!!!!!!!!!!!!!!
*
*you see
*that
*when i hit
*
*enter button
*my line goes to next
*but there is a bug
*:)
*because
*that stars
*generated
*automatically!
*:o
*in other word some thing in RTL text editor is wrong
*
*
now i post this thread in RTL, Arabic View
*and i want to reply a post in English view to this thred
P.S. (wroten in LTR)
another thing:
this bug is only in fultext editor, (no in guick text).
You can test this bu, here!

mj1919 Publish time 2013-07-29 00:43

in De language view,
i posted.

you see

in this
post

after i hit

Enter

NO stars shown

this bug is in RTL only

vot Publish time 2013-07-30 09:17

12
*

Ok, I see!

vot Publish time 2013-07-30 10:42

It is a strange bug.
The ENTER key handler works ok when I trace the javascript code,
but does not work when I stop tracing... does not perform the "backspace" command...

mj1919 Publish time 2013-08-22 15:42

what is related js file?
we can use Uyghurian version file for this? i checked on local host, they have not this bug.

vot Publish time 2013-08-22 16:05

/static/js/editor.js

khalid Publish time 2013-08-22 19:51

in chrome work good without *

mj1919 Publish time 2013-08-22 19:58

static/image/common/user_online.gif khalid static/image/common/clock.gif 2013-8-22 20:51 static/image/common/back.gif
in chrome work good without *

yes you right!
i am writing
in
google
chrome
in arabic
!!!!!!!

whats wrong?!!!???!



vot Publish time 2013-08-22 20:28

whats wrong?!!!???!
Get the editor.js from Uygur forum and compare it with our file!

khalid Publish time 2013-08-28 08:51

Edited by khalid at 2013-8-28 07:55

static/image/common/user_online.gif vot static/image/common/clock.gif 2013-8-22 19:28 static/image/common/back.gif
Get the editor.js from Uygur forum and compare it with our file!
Fixed

the problem form this code in editor.j fileif(ctlent_enable && event.keyCode == 13 && wysiwyg && $(editorid + '_insertorderedlist').className != 'hover' && $(editorid + '_insertunorderedlist').className != 'hover') {
                if(!BROWSER.opera) {
                        insertText('
*', 5, 0);
                } else {
                        insertText('
', 5, 0);
                }
                keyBackspace();
                doane(event);
      }
      if(ctlent_enable && event.keyCode == 9) {replace with

x3 editor code if(ctlent_enable && event.keyCode == 9) {
                if(!wysiwyg) {
                        insertText('\t', 1, 0);
                }
it's work good
Pages: [1] 2
View full version: automatically generated stars in RTL txt editor