Ez Online Editor

Author Message

Håkan Bergman

Wednesday 24 November 2010 6:44:07 am

Hello,

I am using 4.3 and have an issue with the Online Editor.

I've added the strikethrough but it doesnt work.

The strikethough button is visible in the editor, it strikes the text, but doesnt save it?

If I do same with custom tag -> strike it works.

But it should be weird if you need to do it that way when you already have a button for it.

When I type it manually (inactivated editor) it says that <del>, <s>, <strike> is not allowed.

The button also adds the <s> tag, which is obsolete in HTML 5.x. It should add <del> tag instead. Can I change that?

Is there a way to enable a HR (vertical line) button?

The list of buttons is kind of incomplete, I didnt even find strikethough on the extension list of EZOE. I just guessed the name and it appeared. Is there a manual that goes through all available commands and buttons? The current manual need a re-work and should have more explicit examples on how to enable some features (not only for a developer, but better accessible to the user as well in the editor). The custom tag button is pretty non user friendly in a lot of ways. Especially for users who goes from pen and paper and first time using an editor.

Best regards,

Håkan Bergman

André R.

Thursday 25 November 2010 1:58:37 am

strikethrough is not mentioned among supported buttons in ezoe.ini as it doesn't work without some changes, both to list of TinyMCE valid_elements and in parser so the parser will understand that it is supposed to be saved as a customtag like it does for underline. Also the ez theme needs to be adapted so the strikethrough button will work correctly on both native tag and custom tag variant.

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

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 04:59:01
Script start
Timing: Jan 18 2025 04:59:01
Module start 'layout'
Timing: Jan 18 2025 04:59:01
Module start 'content'
Timing: Jan 18 2025 04:59:01
Module end 'content'
Timing: Jan 18 2025 04:59:01
Script end

Main resources:

Total runtime0.6851 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.0067 588.9141152.6094
Module start 'layout' 0.00670.0057 741.523439.4219
Module start 'content' 0.01250.6710 780.9453524.2969
Module end 'content' 0.68350.0015 1,305.242212.1875
Script end 0.6850  1,317.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5432160.0002
Check MTime0.00160.2363160.0001
Mysql Total
Database connection0.00090.127210.0009
Mysqli_queries0.625091.2301540.0116
Looping result0.00050.0771520.0000
Template Total0.627491.620.3137
Template load0.00280.405820.0014
Template processing0.624691.177920.3123
Template load and register function0.00020.031110.0002
states
state_id_array0.00110.160710.0011
state_identifier_array0.00140.206220.0007
Override
Cache load0.00200.2913180.0001
Sytem overhead
Fetch class attribute can translate value0.00070.096520.0003
Fetch class attribute name0.00130.189030.0004
XML
Image XML parsing0.00080.113720.0004
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00791.1478170.0005
String conversion0.00000.001440.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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs