Hi,
I have surrounded editable content with the required tags as instructed. It appears fine in the CMS editor as well. However, when I add some content in editable box and Save the page, tags are inserted in the saved page.
For example,
The content appears fine in CMS editor initially, but when I make any changes to the content, the output page contains tags as well and original fonts are also changed.
Please guide how to solve this issue.
Regards,
Ayush
I have surrounded editable content with the required tags as instructed. It appears fine in the CMS editor as well. However, when I add some content in editable box and Save the page, tags are inserted in the saved page.
For example,
- Code: Select all
<cms:editable name="main_content" type="richtext">
<ol>
<li><p4 -mod class="medium-font blue-text">Dean (Faculty Affairs) (February 2017-till date)</p4></li>
<li><p4 -mod class="medium-font blue-text">Professor-in-charge, IIT Bombay Research Park (October 2014-April 2017)</p4></li>
<li><p4 -mod class="medium-font blue-text">Head, Department of Electrical Engineering, IIT Bombay (January 2012-January 2015)</p4></li>
<li>[<p4 -mod class="regular-font">Head of one of the largest departments in IIT with 65 faculty members and ~1300 students.</p4>]</li>
<li><p4 -mod class="medium-font blue-text">Head, Computer Center (August 2008- July 2011)</p4></li>
<li>New Position</li>
</ol>
</cms:editable>
The content appears fine in CMS editor initially, but when I make any changes to the content, the output page contains tags as well and original fonts are also changed.
Please guide how to solve this issue.
Regards,
Ayush