Opened 11 years ago

Closed 11 years ago

#10229 closed Bug (invalid)

CKEditor (Wordpress plugin) adds a line between 2 indented blocks

Reported by: David VANTYGHEM Owned by:
Priority: Normal Milestone:
Component: Core : Lists Version: 4.0
Keywords: Cc:

Description

I make a first list. Then, I make a second list, indented à the right of the first list. When I save it, a line is added between the 2 lists (with <p></p>). Each time I edit the text, a new line is added, it shouldn't.

I'm using Wordpress 3.5.1 fr and CKeditor 4.0 Wordpress plugin.

Attachments (1)

bug.png (41.3 KB) - added by David VANTYGHEM 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by David VANTYGHEM

Attachment: bug.png added

comment:1 Changed 11 years ago by Jakub Ś

Status: newpending

The problem is that editor has nothing to do with data saving.

I have tried below code with api.html and ajax.html samples

<ul>
	<li>test</li>
	<li>test</li>
</ul>
<ul>
	<li style="text-align: right;">test</li>
	<li style="text-align: right;">test</li>
</ul>
  • Ajax works like submit - you destroy editor, recreate it and load contents to it but without overhead of any server side.
  • Api - shows what getData() method returns

In both cases there was no extra paragraph.


@tagada Could you perhaps check with fiddler2 what gets send when you press submit button? Do you see two lists or lists separated by paragraph? If only two lists then maybe something on server-side adds this extra paragraph.

@tagada Could you simply check it by switching to source and back - does the paragraph shows up between list after such switch or perhaps it is present in source mode?

@tagada could you also tell me if my test code is valid? Do you have the same with editor or something different? Any chance for code snippet that causes problems for you?

comment:2 Changed 11 years ago by David VANTYGHEM

I think it will be easier to test with this page I made for you : http://www.goall.fr/test

Just edit it or click on http://www.goall.fr/wp-admin/post.php?post=3741&action=edit and you will see what happens after registering the comment (blue button "Mettre à jour"). You'll need a login/password, please send me a mail, I will give them to you.

It's strange but I don't have this problem on comments (under the page).

Last edited 11 years ago by David VANTYGHEM (previous) (diff)

comment:3 Changed 11 years ago by Jakub Ś

My email is j.swiderski@…

comment:4 Changed 11 years ago by Jakub Ś

Resolution: invalid
Status: pendingclosed

I have consulted this issue with my colleague. If this issue isn't reproducible in core CKEditor and only in Wordpress plugin (which is the case) then this issue should be reported here: http://wordpress.org/extend/plugins/ckeditor-for-wordpress/

I will close this issue as invalid but please report it again for wordpress.

Before you do that could you tell me:

  1. If this problem can be reproduced in default plugin without any customizations. Let's say freshly downloaded module?
  2. How exactly do you create a list? Something like List button, text, enter, text enter, indent button, text, enter, text? Is the sub-list created with indent button or some other way?
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy