Forums / Setup & design / how to add more options to Online editor

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

eZ debug

Timing: Jan 19 2025 01:01:58
Script start
Timing: Jan 19 2025 01:01:58
Module start 'content'
Timing: Jan 19 2025 01:01:59
Module end 'content'
Timing: Jan 19 2025 01:01:59
Script end

Main resources:

Total runtime0.7439 sec
Peak memory usage4,096.0000 KB
Database Queries196

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 592.8438180.8125
Module start 'content' 0.00600.6115 773.6563586.9297
Module end 'content' 0.61750.1263 1,360.5859332.7422
Script end 0.7438  1,693.3281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.5211210.0002
Check MTime0.00140.1946210.0001
Mysql Total
Database connection0.00050.068410.0005
Mysqli_queries0.676090.88191960.0034
Looping result0.00220.29071940.0000
Template Total0.718296.520.3591
Template load0.00210.278020.0010
Template processing0.716196.263020.3580
Template load and register function0.00010.013610.0001
states
state_id_array0.00090.116310.0009
state_identifier_array0.00090.122320.0005
Override
Cache load0.00170.2315140.0001
Sytem overhead
Fetch class attribute can translate value0.00130.170740.0003
Fetch class attribute name0.00090.124560.0002
XML
Image XML parsing0.00190.260540.0005
class_abstraction
Instantiating content class attribute0.00000.001360.0000
General
dbfile0.00310.4147390.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs