I've recently updated an instance of fckeditor up to the latest ckeditor3.
an issue i've come across relates to copy and pasting in from textpad. this effectively replaces any paragraph formatted text with with divs instead.
is there anyway to affect this behaviour and allow us to paste in paragraphs again?
an issue i've come across relates to copy and pasting in from textpad. this effectively replaces any paragraph formatted text with with divs instead.
is there anyway to affect this behaviour and allow us to paste in paragraphs again?
Re: Pasting adds divs
You can add the following code to your config.js file, located in ckeditor root:
More configuration options can be found in our API: http://docs.cksource.com/ckeditor_api/s ... DITOR.html
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Re: Pasting adds divs
into my config.
The results of a paste from textedit (mac OS X 10.6.8) returns
<p>
</p>
<p class="p1">
this is some text</p>
<p class="p2">
</p>
<p class="p1">
so is this</p>
The results of a paste from textmate returns
<p>
</p>
<div>
This is some text</div>
<div>
</div>
<div>
This is also some text </div>
Which is a bit inconsistent.
If i paste in from open office, i do get paragraphs so i guess its me not understanding the differences between paste environments rather than something broken.
Re: Pasting adds divs
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!