Closed (outdated)
Project:
TinyMCE
Version:
6.x-1.1-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2008 at 12:42 UTC
Updated:
14 Jan 2021 at 19:38 UTC
Jump to comment: Most recent
Hi,
when I chose to edit an existing page after installing tinymce (3.07 on 6.x), line breaks are always removed, not matter if I set "Remove linebreaks" to true or false. Am I missing sth.?
cu,
Frank
Comments
Comment #1
Anonymous (not verified) commentedAh, not, this is not 100% correct: When creating a page without tinymce and "filtered html" the linebreaks from the editor window are translated into html, as expected.
Now when I edit such a page with tinymce, tinymce shows the content in one line without any breaks. But when I add sth. and then save the page with "Input filter" set to "filtered", then the page is published with the linebreaks just like before.
Thus, tinymce doesn't remove those linebreaks, it just doesn't show them in its own editor window. Of course that makes editing old pages with a few hundred lines and "filtered" input style impossible with tinymce.
Comment #2
trinsic commentedthats not what is happening to me, line breaks are being stripped from the html so when I view a page all the text is wrapped together.
Comment #3
trinsic commentedI fixed it, there are two areas that that prevent tags from being used in the editors one in the filter profiles and one on the drupal admin page. whateva... :\
Comment #4
nicoloye commented