BR's in TinyMCE while pressing enter

Author Message

Mateusz Komarnicki

Saturday 10 April 2010 12:18:54 am

Hi all, can You tell me where can i set (change) those options for TinyMCE in eZ?

force_br_newlines : true, and force_p_newlines : false, ??

Now (in default) when I hit enter or shift + enter multiple times, Tiny doesn't add <br />'s which makes me angry. It cleans the source from <br />'s and puts everything in <p>.

Thanks for some tips.

slick

Robin Muilwijk

Saturday 10 April 2010 11:11:58 am

Hi Mateusz,

You could try setting this in:

extension/ezoe/settings/ezoe.ini

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

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 18 2025 03:09:50
Script start
Timing: Jan 18 2025 03:09:51
Module start 'layout'
Timing: Jan 18 2025 03:09:51
Module start 'content'
Timing: Jan 18 2025 03:09:51
Module end 'content'
Timing: Jan 18 2025 03:09:51
Script end

Main resources:

Total runtime0.5665 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.9844153.4531
Module start 'layout' 0.00540.0028 742.437539.4063
Module start 'content' 0.00820.5568 781.8438525.9063
Module end 'content' 0.56500.0014 1,307.75008.3125
Script end 0.5664  1,316.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.5426160.0002
Check MTime0.00120.2186160.0001
Mysql Total
Database connection0.00070.124110.0007
Mysqli_queries0.526492.9278540.0097
Looping result0.00040.0763520.0000
Template Total0.540695.420.2703
Template load0.00200.356920.0010
Template processing0.538595.065120.2693
Template load and register function0.00010.024210.0001
states
state_id_array0.00080.141110.0008
state_identifier_array0.00090.151620.0004
Override
Cache load0.00160.2909160.0001
Sytem overhead
Fetch class attribute can translate value0.00050.095220.0003
Fetch class attribute name0.00100.183830.0003
XML
Image XML parsing0.00070.119920.0003
class_abstraction
Instantiating content class attribute0.00000.001430.0000
General
dbfile0.00070.1306180.0000
String conversion0.00000.001140.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs