automatically generated stars in RTL txt editor
Zuletzt bearbeitet von mj1919 um 2013-7-29 01:47in 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!
in De language view,
i posted.
you see
in this
post
after i hit
Enter
NO stars shown
this bug is in RTL only
12
*
Ok, I see!
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...
what is related js file?
we can use Uyghurian version file for this? i checked on local host, they have not this bug. /static/js/editor.js
in chrome work good without *
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
chrome
in arabic
!!!!!!!
whats wrong?!!!???!
whats wrong?!!!???!
Get the editor.js from Uygur forum and compare it with our file!
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