Closed (won't fix)
Project:
TinyMCE
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 May 2006 at 15:27 UTC
Updated:
16 Sep 2011 at 20:19 UTC
If you create a node without the TinyMCE editor and then subsequently edit the node with the TinyMCE, the line and paragraph breaks created with the "Line break converter" get wiped out. I end up with a long, unreadable stretch of text with no paragraph or line breaks.
I've tried creating a special input filters but that didn't seem to solve the problem. I'll consider this a bug unless someone can point me in the right direction.
Comments
Comment #1
yunusyb commentedSelect "Full HTML" under 'Input Format'. This fixed the line and paragraph breaks problem for me.
Comment #2
desi6ner commentedSeems like one have to select "Full HTML" instead of " Filtered HTML" or else the line breaks does not work properly. This is a critical bug. I cannot expect my editors to select this format every thime a new entry is posted. Really hope someone comes up with a fix with this soon!
Besides that I really like the module a lot!
Comment #3
desi6ner commentedSeems like one have to select "Full HTML" instead of " Filtered HTML" or else the line breaks does not work properly. This is a critical bug. I cannot expect my editors to select this format every thime a new entry is posted. Really hope someone comes up with a fix with this soon!
Besides that I really like the module a lot!
Comment #4
desi6ner commentedAnother way to handle this problem is to edit the "Filtered HTML" itself - but there migth still be the tinymce that's buggy..
Comment #5
mygumbo commentedContent initially entered with Full HTML, line break converter on. TinyMCE doesn't show line breaks or paragraphs. Changed input formats, tried Full HTML (line break converter on and off), Rich Text Editing (with no filters), still the same problem. Without a fix, TinyMCE is unusable for my users.
Comment #6
Josh Willmarth commentedSelecting full html worked for me. If you don't want to have to select full html each time you add a post, go into administer >> input formats and make full html the default input format.
Comment #7
Steve Dondley commentedPlease don't change the name of the topic.
Setting to full html by default is a huge security hole.
Comment #8
whereisian commentedI have the same problem.
Drupal 4.7
Tinymce 2.0.6
php 4.3.9
apache 2.0.52
mysql 4.1.20
I thought it might be because mysql is using utf8, but changing it didn't make a difference. I've tried filtered, unfiltered, php input formats, using new nodes, existing nodes. HTML output is always one line and not very readable.
Similar story on the tinyMCE forums, but no answers there either: http://tinymce.moxiecode.com/punbb/viewtopic.php?id=1635
I would love a fix for this.
Comment #9
yched commentedHave you checked
<p>and<br>tags are allowed in "filtered HTML" filter settings ?Comment #10
alexandreracine commentedYeap. The comment #9 seems to correct this. Thanks.
Could this be added to the documentation instead of the suggestion to put "full html" ?
Comment #11
alexandreracine commentedIn the documentation, you recommend to put full html ;)
Comment #12
steveg430 commentedunderlining the fact that #9 is correct:
my tiny was losing its line breaks and the smiley emotions were failing to appear
so i went to:
http://yoursitename.com/?q=admin/filters/1/configure
and entered
in the allowed html tags in html filter
also i added
as an allowed tag to get the emtions smiley to appear
i would like to think that other items not appearing that come to light from useage can be cured by adding the appropriate tag as above
:)
Comment #13
Rudolf-1 commentedAdding break and paragraph tags to Filtered HTML as well as switching to Full HTML introduces a non-breaking space wrapped in paragraph tags between any two paragraphs. This is just too weird typographically.
Comment #14
whereisian commentedPerhaps I was in the wrong post. I found my solution here. My output is now nicely formatted and not just a glob of code.
http://drupal.org/node/80851
Cheers
Comment #15
andremolnar commentedIf you can't wait for the patch at http://drupal.org/node/80851 to be committed, and want to do a quick hack.
Add the following at line 114 of tinyMCE.module
Works like a charm
andre
Comment #16
patchak commentedHi,
Is this small patch relative to the drupal 5 version of the module? Also, I'm not sure if there are not two issues here... My problem is that when I edit a node that was created before enabling tinymce, the line breaks that were created with the filtered html input format are not applied anymore and the text is presented as a really big blob...
So I guess my questions are :
1) is this patch going to fix my problem
2) was the patch re-rolled for the current version of tinymce?
Thanks
Comment #17
ricmadeira commentedpatchak,
That tiny patch line was only for 4.7. If you're using 5.1, check to see if you have the following configurations enabled:
Remove linebreaks: FALSE
Apply source formatting: TRUE
If that doesn't work, check if you have FULL HTML enabled for the text. If it still doesn't work, welcome to my problem. Try this patch I'm proposing, and if works for you please ask for it's implementation:
http://drupal.org/node/151939
Comment #18
alexandreracine commentedCleaning...