Defect #28331

h4, h5 and h6 headings on wiki pages should have a paragraph mark

Added by Mizuki ISHIKAWA 3 months ago. Updated 3 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Text formatting
Target version:3.3.7
Resolution:Fixed Affected version:

Description

When you enter "h1, h2, h3" paragraph begins from there, and paragraph mark (ΒΆ) will be displayed by mouse hover.

In case of "h4, h5, h6" There is a paragraph mark, but it is not displayed because there is no setting to display.

As "h4, h5, h6" is also the beginning of a paragraph like "h1, h2, h3", a paragraph mark should be displayed.

paragraph.png (85.1 KB) Mizuki ISHIKAWA, 2018-03-14 07:28


Related issues

Related to Redmine - Defect #28392: Styles for h4, h5 and h6 wiki headings are not defined New
Related to Redmine - Feature #1647: No Anchor Support on Wiki pages Closed 2008-07-15

Associated revisions

Revision 17241
Added by Go MAEDA 3 months ago

h4, h5 and h6 headings on wiki pages should have a paragraph mark (#28331).

Patch by Mizuki ISHIKAWA.

Revision 17242
Added by Go MAEDA 3 months ago

Merged r17241 from trunk to 3.4-stable (#28331).

Patch by Mizuki ISHIKAWA.

Revision 17243
Added by Go MAEDA 3 months ago

Merged r17241 from trunk to 3.3-stable (#28331).

Patch by Mizuki ISHIKAWA.

History

#1 Updated by Mizuki ISHIKAWA 3 months ago

You can solve this problem by adding a CSS selector like this:

diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 369526a9a..c5aeba8b2 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -1126,7 +1126,7 @@ div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}

 a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
 a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
-h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
+h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor, h4:hover a.wiki-anchor, h5:hover a.wiki-anchor, h6:hover a.wiki-anchor { display: inline; color: #ddd; }

 div.wiki img {vertical-align:middle; max-width:100%;}

#2 Updated by Go MAEDA 3 months ago

  • Related to Defect #28392: Styles for h4, h5 and h6 wiki headings are not defined added

#3 Updated by Go MAEDA 3 months ago

  • Status changed from New to Confirmed
  • Target version set to 3.3.7

Thanks for catching the issue, setting target version to 3.3.7.

#4 Updated by Go MAEDA 3 months ago

  • Related to Feature #1647: No Anchor Support on Wiki pages added

#5 Updated by Go MAEDA 3 months ago

  • Status changed from Confirmed to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed to the trunk and merged to stable branches. Thank you for improving Redmine.

#6 Updated by Go MAEDA 3 months ago

  • Subject changed from Paragraph mark is not displayed when h4, h5, and h6 to h4, h5 and h6 headings on wiki pages should have a paragraph mark

Also available in: Atom PDF