If I display source formatting of the HTML source is removed and all of the source is stacked with no line spacing, or indents entered.
The format remains in the initial view of the HTML source but viewing source immediately re-formats the the code.
This makes editing HTML source very difficult.
I am using the latest release.
Thanks
The format remains in the initial view of the HTML source but viewing source immediately re-formats the the code.
This makes editing HTML source very difficult.
I am using the latest release.
Thanks
Re: FCKEditor source reformat problems
In your configuration you have changed the value of FormatSource: http://docs.fckeditor.net/FCKeditor_2.x ... rmatSource (and maybe also FormatOutput)
Re: FCKEditor source reformat problems
This only happens when selecting "Source" in the rich text editor.
Thanks
Re: FCKEditor source reformat problems
Re: FCKEditor source reformat problems
fckconfig.js and the FCKeditor profile >> Cleanup and Output.
Both places have the value set to false.
Where else can the value be coming from?
Thanks
Re: FCKEditor source reformat problems
they should be true, not false.
Re: FCKEditor source reformat problems
Code before setting source from Rich Text Editor:
<p>
<a href="/blakish/sites/files/shared/gallery/g-PIC00002.jpg" rel="lightbox[gallery-1][Caption Here]"><img height="57" width="75" class="thumbnail" src="/blakish/sites/files/shared/gallery/tn1-PIC00002.jpg" alt="" /></a>
<a href="/blakish/sites/files/shared/gallery/g-41-cab.jpg" rel="lightbox[gallery-1][Caption Here]"><img height="57" width="75" class="thumbnail" src="/blakish/sites/files/shared/gallery/tn1-41-cab.jpg" alt="" /></a>
<a href="/blakish/sites/files/shared/gallery/g-PIC00012a.jpg" rel="lightbox[gallery-1][Caption Here]"><img height="57" width="75" class="thumbnail" src="/blakish/sites/files/shared/gallery/tn1-PIC00012a.jpg" alt="" /></a>
Code from Source view from Rich Text Editor:
<p><a rel="lightbox[gallery-1][Caption Here]" href="/blakish/sites/files/shared/gallery/g-PIC00002.jpg"><img height="57" width="75" alt="" src="/blakish/sites/files/shared/gallery/tn1-PIC00002.jpg" class="thumbnail" /></a> <a rel="lightbox[gallery-1][Caption Here]" href="/blakish/sites/files/shared/gallery/g-41-cab.jpg"><img height="57" width="75" alt="" src="/blakish/sites/files/shared/gallery/tn1-41-cab.jpg" class="thumbnail" /></a> <a rel="lightbox[gallery-1][Caption Here]" href="/blakish/sites/files/shared/gallery/g-PIC00012a.jpg"><img height="57" width="75" alt="" src="/blakish/sites/files/shared/gallery/tn1-PIC00012a.jpg" class="thumbnail" /></a> <a rel="lightbox[gallery-1][Caption Here]" href="/blakish/sites/files/shared/gallery
All formatting of source has been removed.
Thanks
Re: FCKEditor source reformat problems
Well, that's impossible to preserve, the browsers (mainly IE) will destroy it and you can't get it back once you have used design mode.