Opened 10 years ago
Closed 10 years ago
#12531 closed Bug (invalid)
CKEDITOR punctuation issue ~! before a word is typed in a the following way: ~word!
Reported by: | Anton | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.5 |
Keywords: | Cc: |
Description
Might be related to: http://dev.ckeditor.com/ticket/2277
~!word should provide the follwing result ~!word but currently returns ~word!
Attachments (1)
Change History (4)
Changed 10 years ago by
Attachment: | issue-symbols.PNG added |
---|
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
But I still have a question. Does CKEditor has an after key press event or some promises to run code after key press event happened?
comment:3 Changed 10 years ago by
Keywords: | punctuation exclamation mark symbol combination removed |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Please look below:
LTR container LTR language. | .RTL container LTR language
Setting language in CKEritor to RTL (E.g. config.language='he') or using attribute dir="rtl" is only setting container to RTL. Language is still LTR and that is why it looks weird and what is worse selection looks also weird (First "." than "e" is selected).
The only way to have it configured properly is using RTL language in CKEditor as well as RTL language in your Operating System (OS. You would have to change language in your OS.
After such changes RTL text would be displayed correctly and assuming that below text is in RTL language :
.RTL container RTL language
the selection would look like: First "." than "R" than "T" and so on.
Similar question: #7468
One important detail. ~[event>lostFocus>carent is set to the end of current word]! It's not an issue. But the way how the caret positioning works.