I have created a blog with Couch CMS. Sometimes I want to add little html elements like accordian etc in my posts which require adding javascipt. Becuase the elements are only for specific posts, they can't be added in the template. Whenever i paste javacript in source of post, couch automatically encloses whole code with <p>....code....</p> tags and converts <script> to <script> HTML tags like <button> also get converted to <button> This way code doesn't get executed. I uses textbox type="richtext". Please tell me the solution. Thank You.
You may use shortcodes -
http://docs.couchcms.com/miscellaneous/shortcodes.html
viewtopic.php?f=8&t=7950
Hope it helps.