Developer forum

Forum » Development » The editor

Reply
Hi!

I have a couple of questions.

1) In our shop we want to hardcode a couple of things in the editor in eCom. But the editor tries to clean up the code in the "source" everytime you switch from source to wysywig view, rendering the source view pretty useless; it removes all whitespace and wraps everything i p tags. This makes it hard to use the "source" view at all. So, is there a way to:

turn of the editor trying to edit the code
switch editor.

Another question, i saw that there is a "template" button in the editor, but where do you make the custom templates? Couldn't find anything in the documentation.

2) when creating a "product group field". you can choose "field type= editor. But the editor is only about 100px tall when you see it. Which makes it hard to edit something quickly. How do i make it taller? 

And just a last thing. Editing "edit group", in firefox is broken. You cant scroll down! which makes editing eCom outside IE pretty hard. It is possible if you right click"show only this frame", but that doesn't hold up in the long run.

Many thanks in advance!

Replies

 
Nicolai Høeg Pedersen
Reply

The templates for the editor can be found in /Files/Templates/Editor/mytemplates.xml - and documentation for those templates can be found here:

http://docs.cksource.com/FCKeditor_2.x/Developers_Guide/Configuration/Templates


The editor will try to make the HTML xhtml compatible - thats why it changes the markup. Do not think it can be disabled.


Your secound question looks like a place with room for improvement - i've sent it to QA who will take it from here.

 
Reply
Ok. Thanks for the quick reply!
 
Reply
I have some answers your last questions:

2) when creating a "product group field". you can choose "field type= editor. But the editor is only about 100px tall when you see it. Which makes it hard to edit something quickly. How do i make it taller? 

You can use the maximize icon in the editor toolbar to enlarge your editor. You now get a fullscreen editor to work with.

http://engage.dynamicweb-cms.com/Dynamicweb-CMS-389.aspx?ProductID=PROD213


And just a last thing. Editing "edit group", in firefox is broken. You cant scroll down! which makes editing eCom outside IE pretty hard. It is possible if you right click"show only this frame", but that doesn't hold up in the long run.

I have tested this in both version 19.0.3.0 and the next release 19.1.0.0 and I'm able to scroll the page when I edit an eCommerce group (right-click a group and "Edit group").

If you still experience problems with Firefox, you can report it in a case to our Service Desk.

Kind Regards,
Merethe Nielsen
QA Engineer

 

You must be logged in to post in the forum