It would be nice to be able to configure a heading tag to wrap the content on node title panes. The page title pane already supports this and the approach taken to implement this is quite similar.

Patch follows.

#1 ctools-node-title-pane-heading-1651734-1.patch2.83 KBkasperg
PASSED: [[SimpleTest]]: [MySQL] 51 pass(es). View


kasperg’s picture

Status: Active » Needs review
2.83 KB
PASSED: [[SimpleTest]]: [MySQL] 51 pass(es). View

And here's the patch.

merlinofchaos’s picture

Typically in the UI we show HTML elements in uppercase. So you'd what 'h1' => t('H1') -- also I'd check elsewhere that we do this because I am not sure we actually translate these with t() but I do not remember.

kasperg’s picture

That part of the patch is more or less copy/pasted from the Page title pane where it is also passed through t() but if the UI is taking a different direction I'd be happy to update the patch accordingly.

merlinofchaos’s picture

Status: Needs review » Fixed

Committed and pushed!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.