Forums / Extensions / [EZOE] span into content.ini.apprend.php

[EZOE] span into content.ini.apprend.php

Author Message

Jacques Lombrel

Friday 11 March 2011 7:10:15 am

Hi,

I've a problem with my plugins of eZoe.

It add buttons for wrap selected text with <span class="X (depending of button clicked)">TEXT SELECTED</span>

But, when I save article and display in front office, there no span...

I think I need to add AvailableClasses into content.ini, but with [span] it doeasn't work.

Somebody have a idea ?

KR,

André R.

Saturday 12 March 2011 7:28:56 am

Only way to extend eZXMLText is with custom attributes and custom tags. Custum tags can be either inline or block tags, take a look in content.ini in ezpublish and ezoe for examples.

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

Jacques Lombrel

Tuesday 15 March 2011 4:20:10 am

Thanks for reply André.

So, HTML element span isn't know by EZoe ? We can add [paragraph], [embed], etc... on content.ini, but span is unknow ?

I take a look of CustomTag, but, I can't modify design on editor ? (for exemple <custom name="span" class="blue">TEXTE</custom> can't be BLUE on editor, only on front..). It's bad for customers..

KR,