Opened 12 years ago
Last modified 8 years ago
#10078 confirmed Bug
BBCode: No line-breaks when pasting paragraphed text
Reported by: | p3r3 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Pasting | Version: | 3.6 |
Keywords: | Mac Webkit | Cc: |
Description
When pasting a list of items from notepad/textedit in the bbcode editor line breaks are not preserved, this seems to be a chrome specific issue. Can be recreated in the demo section.
To recreate: 1.) Make a list of a few items in notepad/textedit "one two three"
2.) Copy, then paste into a blank bbcode ckeditor http://ckeditor.com/demo#bbcode
3.) Click source, see there are no line breaks "onetwothree", on some versions of chrome no text will be seen until hitting source.
I believe this is related to the br mode of the browser, it seems that chrome is inserting <p> tags when copied directly to the editor
Change History (7)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Keywords: | Mac Webkit added |
---|---|
Status: | new → confirmed |
Version: | 4.0.1 → 3.6 |
- This works fine on Windows. List items from Notepad paste nicely with br between them.
- This works fine on Linux. List items from text editor paste nicely with br between them.
- This doesn't work on Mac. List items from Notes are pasted as paragraphs which after switching modes results in one line. This is probably because Notes doesn't contain plain text but styled HTML.
Problem can be reproduced from CKE 3.6 rev. [6904] (when BBCode was introduced) on Webkit browsers.
Please also note that problem can be reproduced in latest CKEditor 4.x (v4).
@p3r3 this is waht I was able to reproduce. Could you tell me what problem you had exactly? What OS you are talking about (Mac/Win), which bowsers and what text editor.
on some versions of chrome no text will be seen until hitting source.
Please note that CKEditor supports only latest version of Webkit.
comment:4 Changed 10 years ago by
Summary: | No line-breaks in paste from notepad/text in chrome (bbcode) → BBCode: No line-breaks when pasting paragraphed text |
---|---|
Version: | 3.6 → 4.4.4 |
This bug still exists in the latest released version (4.4.4) and appears to affect several systems / browsers.
Steps to reproduce the problem:
- Copy the whole content of https://www.hoessl.eu/paragraph-test.html (Ctrl/Cmd-A, Ctrgl/Cmd-C)
- Open http://ckeditor.com/demo#bbcode and paste (Ctrl/Cmd-V) the content into the instance of CKEditor.
- Press "Source" to view the BBCode
The following configurations I tested strip all of the line breaks / paragraphs:
- Chrome 37 on MacOSX 10.8
- Safari 7.0.6 on MacOSX 10.8
- Firefox 32 on Ubuntu 14.04
- Chrome 36 on Ubuntu 14.04
- Chrome 37 on Windows 7
- Opera 24 on Windows 7
The problem does not occur at the following configuration I tested:
- Internet Explorer 11 on Windows 7
comment:5 Changed 10 years ago by
Version: | 4.4.4 → 3.6 |
---|
@Cato don't change version number as it is used to indicate when problem started occurring!!!
Second, your comment is a duplicate of #7870
It looks like this editor did not preserve my formatting, the list should be on a new line for each item "one\ntwo\nthree\n"