[ezoe] Break tag into header titles ?

Author Message

Sébastien Antoniotti

Thursday 03 March 2011 5:37:52 am

Hi !

I'm looking for a way to insert

<br /> into <hx> (or <header level="1">)

of the ezoe.

Actually, if you type ENTER within a header, the ezoe splits the current header and creates a new header after the cursor.

If you type SHIFT+ENTER he visually makes a break but he doesn't save it.

The result I would like is :

<h2>My<br />title</h2>

Without passing by a custom tag or literal text of course...

Thanks in advance if you get any idea !

eZ Publish Freelance
web : http://www.webaxis.fr

André R.

Friday 04 March 2011 6:25:25 am

I think you only option here is to create a inline custom tag as this is not supported by design.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Sébastien Antoniotti

Sunday 06 March 2011 5:13:52 am

Thanks André,

Editors will work a bit more ;-)

eZ Publish Freelance
web : http://www.webaxis.fr

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 00:56:24
Script start
Timing: Jan 30 2025 00:56:24
Module start 'layout'
Timing: Jan 30 2025 00:56:24
Module start 'content'
Timing: Jan 30 2025 00:56:25
Module end 'content'
Timing: Jan 30 2025 00:56:25
Script end

Main resources:

Total runtime0.8487 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 588.1406151.2109
Module start 'layout' 0.00780.0027 739.351636.6719
Module start 'content' 0.01050.8374 776.0234486.1641
Module end 'content' 0.84780.0008 1,262.187511.8438
Script end 0.8486  1,274.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3928160.0002
Check MTime0.00140.1603160.0001
Mysql Total
Database connection0.00080.093810.0008
Mysqli_queries0.804894.8336570.0141
Looping result0.00050.0565550.0000
Template Total0.815096.020.4075
Template load0.00220.261220.0011
Template processing0.812895.769220.4064
Template load and register function0.00010.016210.0001
states
state_id_array0.00210.252010.0021
state_identifier_array0.00150.182520.0008
Override
Cache load0.00180.2172210.0001
Sytem overhead
Fetch class attribute can translate value0.00050.061620.0003
Fetch class attribute name0.00100.119350.0002
XML
Image XML parsing0.00290.336320.0014
class_abstraction
Instantiating content class attribute0.00000.001160.0000
General
dbfile0.00460.5363230.0002
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs