We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5340
    • 1,624 Posts
    Solution here
    http://modxcms.com/forums/index.php/topic,47345.0.html

    Disable CKeditor for chunks in the system events


    HI,

    I’m trying to use wayfinder to generate a menu. Everything is fine except I cannot remove the editor from the chunks and the wayfinder tpl is modifyed by CKeditor

    This code

    <li[[+wf.id[[+[[+wf.classes]]>
    	<a href="[[+wf.link]]" title="[[+wf.title]]" [[+wf.attributes]]>[[+wf.linktext]]</a>
    	[[+wf.wrapper]]
    </li>
    

    becomes
    <p>
    	<li[[+wf.id]][[+wf.classes]]> <a href="[[+wf.link]]" title="[[+wf.title]]">[[+wf.linktext]]</a> [[+wf.wrapper]] </li[[+wf.id]][[+wf.classes]]></p>



    The html is:

    <ul><p>
    	<li class="first"> <a href="events/" title="Events">Events</a>  </li class="first"></p>
    
    <p>
    	<li> <a href="riders/" title="Riders">Riders</a>  </li></p>
    


    I tried to use the Source button but without luck.

    Can I disable the editor for chunks? Is there a workaround to this problem?
    Thank you