Opened 8 years ago

Closed 8 years ago

#8917 closed Bug (invalid)

some html tags display as text in ckeditor with hebrew (rtl language)

Reported by: yaron munz Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6.3
Keywords: Cc: munzyaron@…

Description

I use CKEditor 3.6.3 (revision 7474) I use with hebrew (rtl) with : config.defaultLanguage = 'he'; the problem is that some HTML tags, are displayed in the editor !

  1. I have a tag in my page:

<textarea name="Text" cols=85 rows=5 style="font-size:1em;">

  1. I use the JS function (in body onload) to attach the editor:

CKEDITOR.replace('Text', { customConfig : '/inc/Ckconfig.js', toolbar:'LoveStory' });

  1. The same text (from the DB) when dysplayed at the page (without the editor) is OK

לא מצאתי אישה נחושה כצעקתה

מצאתי אותה בעלת חושים מחודדים

לחיים

  1. The same text when in edit mode (inserted into the editor with

dynamic js function that reads the text from the DB and insert in into the editor... CKEDITOR.instancesText?.insertText('the text from the DB'); is shown (in the editor, RTL INDENT OF COURSE) as ... <p> לא מצאתי אישה נחושה כצעקתה</p> <p> מצאתי אותה בעלת חושים מחודדים</p> <p> לחיים</p> <p>

I'll try to attach the Ckconfig.js file .

pls advs, Yaron Munz

Attachments (1)

ckconfig.js (2.0 KB) - added by yaron munz 8 years ago.
ckconfiguation file that i use

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by yaron munz

Attachment: ckconfig.js added

ckconfiguation file that i use

comment:1 Changed 8 years ago by yaron munz

Summary: html tags display insome html tags display as text in ckeditor with hebrew (rtl language)

comment:2 Changed 8 years ago by yaron munz

Cc: munzyaron@… added

comment:3 Changed 8 years ago by Jakub Ś

Keywords: html tags rtl heb hebrew removed
Resolution: invalid
Status: newclosed

Hi,

You should have used insertHtml and not inserText http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#insertHtml

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy