Respecting carriage returns/line feeds in HTML
Web publishing allows you to see and edit the HTML. But it doesn't respect carriage feeds/line returns. If I use these, leave HTML mode, then re-enter, they are gone. And the HTML is very hard to edit at this point. It would be great if these characters could be left in the code.
1
person likes this idea
I like this idea!
Tell me when this idea gets some attention.
The more people who like this idea, the more it gets noticed.
The more people who like this idea, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Hi Bill,
I can understand the frustration if you often edit in HTML mode. Maybe some background information would help.
In order to support different browsers, the HTML editor has to clean up the HTML code generated by the browser before it is saved. This is because some browsers will actually introduce their own elements and non-standard attribute settings, into the editing area. AirSet stores a common format and then translates when it needs to, based on what browser you are currently using. That way, if you use Safari and another member of your group uses Firefox, you can both edit the same document and AirSet handles it fine.
As part of that cleanup, we eliminate extra characters (like carriage returns) from the HTML.
I will pass your comments along to the engineer responsible for the HTML editor code. -
Inappropriate?Just to add to Jim's comments, what I do is place a "break" tag where I want a return when editing in html mode, this is preserved.
-
Inappropriate?Thanks for the quick response. Brian, I use break tags frequently, but they don't cause the following text to be displayed on the next line. I use Firefox. What browser do you use?
-
HI Bill, I use Firefox, the "br" tag gives me a carriage return,what happens when you insert this char? -
When I'm in design mode, the following text shows up on the next line. But when I'm in HTML mode, I see the
tag, and the following text is appended after it. For example:
this
is
a
test
-
yes, when you are in html mode the br tag won't actually show as a return, but you could add a return after entering the break tag (which will be stripped) just to improve readability while editing. -
Yes. It's just that after leaving HTML mode and re-entering HTML mode, all the carriage returns are gone. -
Inappropriate?I wanted to see what the other editors do. Checked out FCKEditor and TinyMCE. Noticed that TinyMCE has a configuration setting just to specify whether or not to turn newlines into break tags: http://wiki.moxiecode.com/index.php/T...
-
I'll add that to the feature request list, we really don't expect most users to be editing in html mode though, our goal is to make the WYSIWYG editing meet people's needs. -
Inappropriate?I think you're right - most people will not use HTML mode. But I'll wager I'm not the only person who will at least periodically want/need to use HTML mode. Thanks for adding it to the feature request list. Maybe I'm naive, but I think this would be trivial - just take the carriage return and line feed characters out of the list of characters you filter out.
Thanks -
Don't get me wrong, I definitely think this is a great feature for the power user and I have often been in situations where I would personally use it and we will eventually get to it. It's just that we have a long list of Web Publish feature requests and a small team (at least for now :-) so each development cycle when we scour the feature request list we choose to implement the features that will help the most poeple using the product. -
Inappropriate?Understood.
-
Inappropriate?Just an FYI. I created a method that makes this less of an imposition: http://bwinett.blogspot.com/2009/03/b...
-
That's pretty cool! -
That's pretty cool!
Loading Profile...



EMPLOYEE
EMPLOYEE