Hi!
Make it possible to have ASP like syntax in the content like the following example:
--------------------------------------------------------
Hi <%$ Firstname %>!
Best regards,
<%$ Lastname %>
--------------------------------------------------------
When saving/loading the '<%' should be either saved as '<%' or '<%' or '<asp>' or '<mycode>' etc. depending on some settings.
PS. This might already be possible today... I'm currently not using FCKEditor (but did a couple of years ago), but would really like to switch back to it if all of my requests/ideas would be implemented.
/JohnF
Make it possible to have ASP like syntax in the content like the following example:
--------------------------------------------------------
Hi <%$ Firstname %>!
Best regards,
<%$ Lastname %>
--------------------------------------------------------
When saving/loading the '<%' should be either saved as '<%' or '<%' or '<asp>' or '<mycode>' etc. depending on some settings.
PS. This might already be possible today... I'm currently not using FCKEditor (but did a couple of years ago), but would really like to switch back to it if all of my requests/ideas would be implemented.
/JohnF
Re: ASP like syntax
Test it because your description is quite vague with regards to the behavior of the editor if it finds that special syntax.
Re: ASP like syntax
I have tried searching the docs but didn't find a solution to this.... I may have to dig deeper to find it
Re: ASP like syntax
Alfonso is talking about the Placeholder plugin, which can be found in the samples:
http://www.fckeditor.net/nightly/fckedi ... ple06.html
Based on that, you can do any kind of modifications in the server to achieve your syntax needs. I think that's the way to go for it.
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: ASP like syntax
I tried the example and inserted a placeholder with the value 'MySQL'. Then clicking somewhere on the [[ MySQL ]] got the whole placeholder selected... ok. But if I click outside the placeholder and move the cursor inside the placeholder and change the text from 'MySQL' to 'MySimpleSQL' and then click on the button to switch to HTML source then the change is not reflected. It might be an option for the placeholder, but this kind of demos doesn't convince me in the first place.