Here is the line in the core/config.js file where the protected tags are 
defined:

        /**
         * List of regular expressions to be executed on input HTML,
         * indicating HTML source code that when matched, must 
<strong>not</strong> be available in the WYSIWYG
         * mode for editing.
         * @type Array
         * @default <code>[]</code> (empty array)
         * @example
         * config.protectedSource.push( /<\?[\s\S]*?\?>/g );   // PHP code
         * config.protectedSource.push( /<%[\s\S]*?%>/g );   // ASP code
         * config.protectedSource.push( 
/(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi );   // ASP.Net code
         */
        protectedSource : [],

        

Where do I put my code? In the []? Is so what is the syntax??????







> I have a few cfloops within one cfoutput tag. It changes it to this:
> 
> cfloop query="founders"> <cfoutput> </cfoutput></cfloop><cfloop 
> query="advisors"> <cfoutput> </cfoutput></cfloop><cfloop 
> query="developers"> <cfoutput> </cfoutput></cfloop>
> 
> 
> When you say change it to edit mode what do you mean? Do you mean hit 
> "View Source"?
> 
> If so that is what I am doing and where I see the code distorted.
> 
> 
> 
> 
> 
> >are you perhaps referring to it changing
> >
> ><cfsometag>
> >
> >to
> >
> >&lt;cfsometag&gt;
> >
> >if so then this is the correct behaviour if you put code into a 
> WYSIWYG
> >editor.
> >you would need to use the HTML mode to do this,
> >
> >On Wed, Jan 11, 2012 at 9:39 AM, Nick Gleason <n.gleason@citysoft.
> com>wrote:
> >
> >> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349397
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to