Div in place of textarea in event description?

Hi,

I want to replace text area with div. when we see event full description.
actually i tried it and
scheduler.config.lightbox.sections = [
{ name: “description”,height: 130, map_to: “text”, type: “textarea”, focus: true},
{ name: “location”, height: 43, type: “textarea”, map_to: “details”},
{ name: “Tags”, height: 30, type: “textarea”, map_to: “Tags” },
{ name: “time”, height: 72, type: “time”, map_to: “auto” }
]

here i replace text area with div in type. but didn’t render event description. if possible then quick reply. it’s urgent.

Hello,

You need to create custom section.
Check \scheduler\samples\02_customization\05_custom_editor.html
sample and Custom editors page in our documentation.

Best regards,
Ilya

HI ilya,

When i put part of java script in my page, error occur when i browse my page.

“The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.”

The error doesn’t seems to be related to the javascript code.
Can you provide a link to the problematic page?

Hi Stanislav,

   i have recheck my application. Issue "The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression." thrown because i am using HTTP compression. so right now i have removed compression from my application. custom editor code works, to display description. but problem is as usual on description page anchor tag rendered as text. but i want to anchor tag display as link. when i changes value of map_to from "text" to any other (innerhtml), not rendered description.

or i change
scheduler.form_blocks[“my_editor”] = {
render: function(sns) {
return "

Title 
Details 
";
}
then also editor not render description.

Hello,

Please provide full code of your custom editor.

Best regards,
Ilya