Opened 18 years ago
Closed 17 years ago
#212 closed New Feature (fixed)
Paragraph/return marks
Reported by: | Owned by: | Martin Kou | |
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor 2.5 Beta |
Component: | General | Version: | |
Keywords: | SD-COE | Cc: | pkdille, Jean-Marc Libs, Nyloth |
Description
It would be nice if you could show paragraph and/or new line marks, just like in Word.
Attachments (1)
Change History (15)
comment:1 Changed 18 years ago by
comment:3 Changed 17 years ago by
Cc: | Pascal.KUSTNER@… added |
---|---|
Keywords: | SD-COE added |
comment:4 Changed 17 years ago by
Cc: | jean-marc.libs@… patrice.weber@… added |
---|
comment:5 Changed 17 years ago by
Cc: | pkdille Jean-Marc Libs Nyloth added; Pascal.KUSTNER@… jean-marc.libs@… patrice.weber@… removed |
---|
comment:6 Changed 17 years ago by
Owner: | set to Martin Kou |
---|---|
Status: | new → assigned |
comment:7 follow-up: 11 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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 17 years ago by
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 17 years ago by
Milestone: | → 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 17 years ago by
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 follow-up: 13 Changed 17 years ago by
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 Changed 17 years ago by
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 Changed 17 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Reopened due to comment 11.
comment:14 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Do you have a screenshot from Word, with all its related features?