I have created a site and up till now have not been using a WYSIWYG editor for inputting content.

I have simply thrown in the content and left it at that.

Now that the site is nearing completion, I have installed CK Editor so that the clients will not need to deal with HTML code.

However, now whenever I edit a page, all the paragraph breaks have disappeared!

In the source, before, they are all there just simple

tags. But when I edit it they are all removed with just one

tag enclosing everything.

Is there a way around this problem?

(Also, and possibly related, all the conten appears centered in the editor, even though when submitted it stays left.)

I'd really appreciate a response since the job is nearing completion, but cannot go to the client with this issue.

Thanks.

Comments

dczepierga’s picture

Status: Active » Postponed (maintainer needs more info)

Could u paste content which u had before CKEditor enable??
It will help to verify the problem.

isaac77’s picture

I am having a similar issue. Before installing CKEditor, I created content using an input format that includes the line break converter filter. Inputed by user/stored in database:

Paragraph 1.

Paragraph 2.

Output after being run through the input format:

<p>Paragraph 1.</p>

<p>Paragraph 2.</p>

Now that I have CKEditor installed, editing any of that content causes the line breaks to be stripped, producing:

<p>Paragraph 1.Paragraph 2.</p>

This seems related to an issue that was discussed (and possibly resolved) for FCKEditor -- details at http://drupal.org/node/575626 (marked resolved at http://drupal.org/node/575626#comment-2690264). I am new to this module, so I'm not sure whether that fix may have been lost in the transition to CKEditor (or if I am simply configuring something incorrectly).

Many thanks for your help!

jcisio’s picture

Paragraph tags were converted from newline characters by the Line break converter filter in Drupal. CKEditor removes all those newline characters.

Duplicate of #685146: Plugin to convert new lines to <br /> or <p> (cross posted with WYSIWYG).

dczepierga’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Pls update to last DEV version of CKEditor module. There should everything works good.

Greetings