how to add more options to Online editor

Author Message

Vytautas Germanavičius

Saturday 31 March 2007 10:35:46 am

There is possible to select several text styles in online editor: "normal", "heading1" ... "heading6".
But how to add more options?
I need to make special style fo marking some parts of text (like citation of code) or to highlight important parts.

{set-block scope=root variable=cache_ttl}0{/set-block}

Kristof Coomans

Saturday 31 March 2007 11:10:27 am

You can use a custom tag for that: http://ezpedia.org/wiki/en/ez/custom_tag

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Damien Pobel

Saturday 31 March 2007 1:32:24 pm

you can also define CSS classes in content.ini that will be available in the Online Editor.
See http://ez.no/doc/extensions/online_editor/4_x/usage/formatted_text/the_class_parameter

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

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 19 2025 04:27:54
Script start
Timing: Jan 19 2025 04:27:54
Module start 'layout'
Timing: Jan 19 2025 04:27:54
Module start 'content'
Timing: Jan 19 2025 04:27:54
Module end 'content'
Timing: Jan 19 2025 04:27:54
Script end

Main resources:

Total runtime0.6617 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.2891152.6406
Module start 'layout' 0.00520.0025 741.929739.4766
Module start 'content' 0.00770.6525 781.4063581.8359
Module end 'content' 0.66010.0015 1,363.242212.1250
Script end 0.6616  1,375.3672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4666160.0002
Check MTime0.00120.1865160.0001
Mysql Total
Database connection0.00080.118210.0008
Mysqli_queries0.613292.6807590.0104
Looping result0.00070.1007570.0000
Template Total0.632695.620.3163
Template load0.00230.351420.0012
Template processing0.630395.258120.3152
Template load and register function0.00010.015010.0001
states
state_id_array0.00110.173810.0011
state_identifier_array0.00160.247120.0008
Override
Cache load0.00190.2844140.0001
Sytem overhead
Fetch class attribute can translate value0.00120.182930.0004
Fetch class attribute name0.00100.155460.0002
XML
Image XML parsing0.00140.208730.0005
class_abstraction
Instantiating content class attribute0.00000.001560.0000
General
dbfile0.00090.1334280.0000
String conversion0.00000.001040.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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs