Try our conversational search powered by Generative AI!

What property to store XHTML code

Vote:
 

I'd like to be able to store an XHTML code block in a proprty on one of my page types but it doesn't seem to be going my way. I saw that there is a property called XHTML String but it can't take more than 255 characters. If I use a long string and switch to HTML-mode I can add my code, a javascript in this case, but when I save and pubilsh my code it's gone.

I guess there's a really simple way to do this but it's probably passed me by. Has anybody done this?

#37287
Mar 01, 2010 14:29
Vote:
 

Use the LongString or Xhtml-string property and disable all the editor features.

#37291
Mar 01, 2010 19:12
Vote:
 

Of course! I removed all but the "Show/Hide HTML". Thanks!!

#37302
Mar 02, 2010 8:17
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.