Ticket #212 (closed New Feature: fixed)
Paragraph/return marks
| Reported by: | wim.dewijngaert@… | Owned by: | martinkou |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.5 Beta |
| Component: | General | Version: | |
| Keywords: | SD-COE | Cc: | pkdille, Jyhem, nyloth |
Description
It would be nice if you could show paragraph and/or new line marks, just like in Word.
Attachments
Change History
Changed 5 years ago by wim.dewijngaert@…
-
attachment
paragraph.gif
added
Paragraph/new line marks in Word
comment:5 Changed 5 years ago by fredck
- Cc pkdille, Jyhem, nyloth added; Pascal.KUSTNER@…, jean-marc.libs@…, patrice.weber@… removed
comment:6 Changed 5 years ago by martinkou
- Owner set to martinkou
- Status changed from new to assigned
comment:7 follow-up: ↓ 11 Changed 5 years ago by martinkou
- Status changed from assigned to closed
- Resolution set to fixed
Notice that displaying line breaks done by <br> tags is not implemented yet. It seems there is no simple method of making a <br> tag visible - modifying CSS attributes don't work, hacks like wrapping the <br> with <span> tags introduces many complications, etc.
So, for the time being, only block tags like <p>, <div>, <h1>, <address> are displayed, and <br> tag displays wouldn't be implemented in 2.5. Unless a simple, clean way of displaying <br> tags is found.
comment:8 Changed 5 years ago by alfonsoml
I looked at the <br> sometime ago, but I only found a nice solution for Opera. In theory it should work in all the browsers, but unfortunately we know that their implementation of standards is far from complete.
Just adding
br:before
{content: "\B6 ";}
will make the line breaks appear nicely
comment:9 Changed 5 years ago by fredck
- Milestone set to FCKeditor 2.5
The idea of CSS selectors passed in m mind in the past too... but then I've thought about IE, and just left it behind.
In any case, even if it is a Opera only feature for now, I don't see problems on adding the CSS style proposed by Alfonso. It will be a "plus" for Opera users, and it will be ready for other browsers, as soon as they get selectors running for <br>.
Is it the case to open a ticket at Mozilla's Bugzilla for it?
comment:10 follow-up: ↓ 12 Changed 5 years ago by alfonsoml
It is open since some years ago (searching bugzilla is how I found the "\B6" idea). Now I can't find it, but I know that it is there.
comment:11 in reply to: ↑ 7 ; follow-up: ↓ 13 Changed 5 years ago by fredck
Replying to martinkou:
Notice that displaying line breaks done by <br> tags is not implemented yet. It seems there is no simple method of making a <br> tag visible - modifying CSS attributes don't work, hacks like wrapping the <br> with <span> tags introduces many complications, etc.
So, for the time being, only block tags like <p>, <div>, <h1>, <address> are displayed, and <br> tag displays wouldn't be implemented in 2.5. Unless a simple, clean way of displaying <br> tags is found.
I've loved the "Show Blocks" feature Martin.
I've reworked it with [706], making the following changes:
- Moved the styles to fck_internal.css. In this way our code is much simpler (almost ridiculous :)). It also makes it clearer when customizing it.
- Corrected the icon position and included it in the Office2003 and Silver skins.
Please give us your opinion about it.
Things still to be done:
- Introduce the "StartupShowBlocks" config to indicate the feature state when loading the editor.
- The state should persist when moving back and forth to the source view.
comment:12 in reply to: ↑ 10 Changed 5 years ago by fredck
Replying to alfonsoml:
It is open since some years ago (searching bugzilla is how I found the "\B6" idea). Now I can't find it, but I know that it is there.
I've found the following, that could be related:
- https://bugzilla.mozilla.org/show_bug.cgi?id=47038
- https://bugzilla.mozilla.org/show_bug.cgi?id=358544
Well... not much activity for it.
comment:13 in reply to: ↑ 11 Changed 5 years ago by fredck
- Status changed from closed to reopened
- Resolution fixed deleted
Reopened due to comment 11.
comment:14 Changed 5 years ago by martinkou
- Status changed from reopened to closed
- Resolution set to fixed

Do you have a screenshot from Word, with all its related features?