Opened 13 years ago
Closed 13 years ago
#8582 closed Bug (duplicate)
Pasting into CKEditor produces DIV's not Paragraphs
Reported by: | mdunham918 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Pasting | Version: | 3.6.2 |
Keywords: | Cc: | matt@… |
Description
Using version 3.6.2 of CKEditor and with enterMode set to enterMode: CKEDITOR.ENTER_P when I paste a bunch of text from notepad that contains paragraphs like:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer orci erat, accumsan non dignissim in, interdum et magna. Donec eget blandit nibh. Duis porta sapien non elit mattis lobortis. Nulla facilisi. Integer at nisi mauris. Donec dignissim, ante quis interdum porttitor, tellus sapien rutrum eros, et rhoncus risus dui et libero. Pellentesque iaculis est massa. Duis fringilla bibendum augue, vel tempus massa ornare eget. Ut sagittis nibh eget dui commodo sollicitudin sit amet in purus. Vivamus a arcu id lacus aliquet dictum. Curabitur venenatis accumsan fringilla. Nullam scelerisque tellus lorem, sit amet ullamcorper turpis.
Praesent ac lorem eros, sit amet sagittis felis. Duis vestibulum convallis elit, non gravida arcu dapibus sit amet. Etiam vitae risus id nunc luctus tincidunt id in sem. Donec ac libero lacus. Vivamus convallis ipsum vel eros lobortis sed egestas enim condimentum. Morbi hendrerit leo lacinia ante feugiat tincidunt. Nam purus lectus, euismod ac volutpat ut, aliquet sit amet massa. Donec mollis semper ultrices. Phasellus vulputate dapibus feugiat. Duis sed massa in lorem imperdiet scelerisque sed sed justo.
Quisque mollis erat bibendum metus ultrices eget pharetra nisl eleifend. Etiam venenatis lorem lacinia nulla dapibus pellentesque. Mauris ornare dapibus mi et posuere. Nam id vestibulum neque. Donec aliquet venenatis eros, at pellentesque nunc porttitor vitae. Maecenas ut lectus sed neque facilisis semper. Fusce placerat blandit nisl id condimentum. Cras suscipit velit id metus mattis nec feugiat mauris lobortis. Mauris aliquet malesuada urna quis malesuada. Sed mattis fringilla mi, quis dictum ipsum tincidunt et. Quisque metus felis, ultrices vitae consequat ac, scelerisque eu massa. Nulla lacus orci, lobortis vel posuere sit amet, cursus eu est. Vivamus sed cursus odio.
it wraps each of the paragraphs in a div tag instead of a p tag. I need it to wrap those in p tags.
Change History (1)
comment:1 Changed 13 years ago by
Keywords: | Defect with block wrapping removed |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Actually results vary depending on a browser and it happens only when using CRTL+C CRTL+V.
This is a duplicate of #7622.
You could use partial workaround from #7622 and block CRTL+V event - that way your users will be forced to use paste dialog which pastes data as you expect it.