Forums / Developer / Ez Online Editor

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