I'd like to add some dynamic content into the FCK text box when I'm adding links, for example when I add a link or link some text I want to be able to put some ASP delimeters into the textbox and a variable name. Something like this <%= myLinkVariable %>
.
I've tried looking at the textbox content in the source view and adding a simple <% Response.Write("Hello World")%>
but like the link text the asp delimeters have been converted to unicode/html like this <% Response.Write("hello world")%>"
Do I ne开发者_运维问答ed to comment / uncommment the
FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%>
or any of the other custom items in the custom.js file.
The FCK Editor only deals with HTML content. You won't be able to use it to access server variables, unless you have a custom module designed to parse and evaluate the content.
精彩评论