Closed (fixed)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
6.x-1.6
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2011 at 13:46 UTC
Updated:
26 Sep 2011 at 11:01 UTC
When we use ckeditor with Google Chrome,
We configured all setting as
Enter mode:"p"
Shift + Enter mode:"br"
when we copy and paste multiple para in textarea body and check the source code here found that auto created "div" tag instead of "br" or "p" and if press enter key in any para, created "div" tag instead of "p"
Please check and give me any suggestion regarding this.
| Comment | File | Size | Author |
|---|---|---|---|
| ckeditor2.png | 60.72 KB | durgeshs | |
| Ckeditor1.png | 50.44 KB | durgeshs | |
| ckeditor.png | 52.41 KB | durgeshs |
Comments
Comment #1
mkesicki commentedYour issue occurs only in Google Chrome ? Can you check other browsers ?
Btw. your description probably lost some text and it's hard to guess - good that you attached some images.
Thx for notice this.
Comment #2
durgeshs commentedWhen we copy and paste multiple para in textarea body and check the source code here found that auto created tag "div/(p tag with margin=0)" instead of "br" or "p" and if press enter key in any para, created tag "div/(p tag with margin=0)" instead of "p".
I have checked in Mozilla, IE7, IE8, Google Chrome and Safari (windows).
I have found this issue in only Google Chrome and Safari (windows) also.
Comment #3
mkesicki commented@durgesh0029 thx for information.
Comment #4
mkesicki commentedHi, this bug look like related with CKEditor library not module for drupal.
Can you check in http://ckeditor.com/demo if you have this problem there in Chrome an/or Safari ?
In my case there is a problem on demo page in Chrome.
I will report this problem to CKEditor developers.
Please check this to confirm.
Comment #5
mkesicki commentedI checked this. This can be related with http://dev.ckeditor.com/ticket/7622.
So this problem looks like browser related problem not module.
To solve this you can use "Force pasting as plain text" option in "Advanced options" tab in CKEditor's profile configuration.
Another solution is use "Paste as Text" feature.
Comment #6
durgeshs commentedthx for suggestion. :)
Comment #6.0
durgeshs commentedWe used tag with "<" and ">".