Closed (fixed)
Project:
FCKeditor - WYSIWYG HTML editor
Version:
5.x-2.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2008 at 21:49 UTC
Updated:
24 Aug 2008 at 23:23 UTC
When I click the Source button, the HTML shown is formatted correctly. But when I click "Switch to plain text editor", the HTML is displayed without formatting. The original HTML is also formatted. Eg.
Source Button view:
<h3>This is a test</h3>
<ul>
<li>One</li>
<li>Two</li>
<li>Three</li>
<li>Four</li>
</ul>
<p>Ends</p>Switch to plain text editor View
<h3>This is a test</h3> <ul> <li>One</li> <li>Two</li> <li>Three</li> <li>Four</li> </ul> <p>Ends</p>
Comments
Comment #1
wwalc commentedIn FCKeditor administration section, please check "Cleanup and output".
I guess that you have "Format output" set to false and "Apply source formatting" set to true.
To enable code formatting, change "Format output" to true.
Comment #2
wwalc commentedComment #3
Arkar commentedI get the same issue and format output is set to true.
Comment #4
wwalc commentedMake sure that both options are set to true:
- Apply source formatting
- Format output
and that you have changed the right profile.
To make sure that oyu have changed the right profile, view the source of your page and search for:
If it didn't help, let me know which version of FCKeditor do you use.
Comment #5
iantresman commentedI ended up using the Whizzywig wysiwig editor, which did not have this problem, but is far simpler... a benefit for me.
Comment #6
Arkar commentedStill not working with druplal 5.7 updated module. Fckeditor version 2.6 most recent. All required settings are true.
Thank for your help please tell if I can help with testing. This is the same in Firefox 3 nightly build and IE7.
Comment #7
wwalc commented1. Please post here a sample source code (unformatted) that is not properly formatted by FCKeditor.
2. View the source of your page and paste here FCKeditor settings, should be something similar to:
Comment #8
Arkar commentedSample :
<div>Le 3 avril dernier Diane Verrault a remis le mémoire de l'APPQ concernant le registre national de la main-d'oeuvre au directeur médical national, M. Lefrançois. À cette occasion, nous avons exprimé plusieurs préoccupations. La principale étant l'avancement de la démarche de professionnalisation entamée par les paramédics du Québec. En effet, il nous semble urgent de voir ce processus avancer rapidement vers la création d'un ordre professionnel.<br /> <br /> Par ailleurs, nous tenons à remercier tous les gens qui nous ont fourni leurs commentaires. Ils se sont révélés très utiles lors de la rédaction du mémoire. Pour cette raison, nous croyons que le mémoire reflète les préoccupations des paramédics québécois. Nous vous enjoignons de <a href="/node/179#Debut_memoire">le lire</a> et de nous faire parvenir vos commentaires.<br /> <br /> À la suite du dépôt de notre mémoire, nous nous attendons à ce que le ministre traite nos inquiétudes avec célérité. Il est primordial de voir une progression rapide des différents enjeux affectant notre profession. Parce qu'il en va de votre profession et ultimement de la vie de vos proches.<br /> <a name="Debut_memoire"></a></div>Settings :
Thank you again for your help
Comment #9
wwalc commentedWith the sample source code that you posted, there is nothing that could be formatted better.
Use
<p>tags for paragraphs (set EnterMode to "p"), this way your code would be better organized.Comment #10
wwalc commentedComment #11
Arkar commentedThis is what is shown when I click on source :
When I click on switch to plain text editor this is the result :
<div>Le 3 avril dernier Diane Verrault a remis le mémoire de l'APPQ concernant le registre national de la main-d'oeuvre au directeur médical national, M. Lefrançois. À cette occasion, nous avons exprimé plusieurs préoccupations. La principale étant l'avancement de la démarche de professionnalisation entamée par les paramédics du Québec. En effet, il nous semble urgent de voir ce processus avancer rapidement vers la création d'un ordre professionnel.<br /> <br /> Par ailleurs, nous tenons à remercier tous les gens qui nous ont fourni leurs commentaires. Ils se sont révélés très utiles lors de la rédaction du mémoire. Pour cette raison, nous croyons que le mémoire reflète les préoccupations des paramédics québécois. Nous vous enjoignons de <a href="/node/179#Debut_memoire">le lire</a> et de nous faire parvenir vos commentaires.<br /> <br /> À la suite du dépôt de notre mémoire, nous nous attendons à ce que le ministre traite nos inquiétudes avec célérité. Il est primordial de voir une progression rapide des différents enjeux affectant notre profession. Parce qu'il en va de votre profession et ultimement de la vie de vos proches.<br /> <a name="Debut_memoire"></a></div> <!--break--> <hr /> <div class="rtecenter">CONSULTATION<br /> REGISTRE NATIONAL DE LA MAIN-D’ŒUVRE<br /> DES TECHNICIENS AMBULANCIERS PARAMÉDICS DU QUÉBEC</div> <br /> Conformément à la lettre du Dr Daniel Lefrançois du 14 mars 2008, l’Association professionnelle des paramédics du Québec souhaite transmettre ses réflexions dans le cadre de la consultation sur le projet de règlement sur le registre national de la main-d’oeuvre des techniciens ambulanciers paramédics, lequel est prévu à la Loi sur les services préhospitaliers dWhen I click on source then on switch to plain text editor the text is correctly formated. I do think there is a bug here. The result is supposed to be the same.
Comment #12
socialnicheguru commentedI have the same issue.
and cannot figure it out.
Chris
Comment #13
julienbras commentedgot the same issue on a Drupal 5.7 + module fckeditor 5.x-2.1 + fckeditor 2.6.2.
here is my settings :
Comment #14
Jorrit commentedCan you provide a trace to reproduce this item? Starting with no node, so please describe how you create the node and when the problem occurs. When I create a node and paste iantresman's code, and then edit the node the problem does not appear (5.9, 5.x-2.2-beta2, 2.6.2)
Comment #15
Jorrit commentedFixed in CVS
Comment #16
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.