linkClass with Online Editor not stored

Author Message

Oliver Dzierzon

Tuesday 03 February 2009 5:26:52 am

I am using
eZ Publish version 4.0.1 with the Online Editor 4.3.1.

When insert a link into the text the user should be able to select a css class. Therefore I edited the "content.ini " of "ezdhtml" extension. I added the following settingcode

/extensions/ezdhtml/settings/content.ini.append

[link]
ClassDescription[]
AvailableClasses[]
AvailableClasses[]= Extern
AvailableClasses[]= Intern
AvailableClasses[]= PDFdownload
AvailableClasses[]= Download

So that these four classes are available in the link insert interface. My problem is , that the class information ist not stored when I save the edited article. Going back to the link insert interface, the formerly selected class is not preselected.

André R.

Tuesday 03 February 2009 7:25:56 am

Could you try to remove the whitespace in the class name(between '=' and name )?
The value is trimmed and cleaned by the editor to remove any potential junk from your browser, so whitespace in start/end of name is not supported.

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

Oliver Dzierzon

Tuesday 03 February 2009 1:01:36 pm

Thanks, now it works fine.

ciao Olli

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.