Trying to add asp .net code into the source code mode, but the tags are replaced with garbage.
I've added the config.protectedSource parameters in the config file, but it does not work.
I see that it adds a tag for special characters in the source, but again, it does not work.
Any ideas? I've updated the editor to the current version.
I've added the config.protectedSource parameters in the config file, but it does not work.
I see that it adds a tag for special characters in the source, but again, it does not work.
Any ideas? I've updated the editor to the current version.
Re: asp .net code protectedSource
I'm having the exact same problem. i wonder how CkEditor guys didn't fixed this issue, because there is a lot of threads in different forums across the web about this.
Your help is highly appreciated..
Re: asp .net code protectedSource
Re: asp .net code protectedSource
Re: asp .net code protectedSource
Trying the php protected source configuration, pasting some PHP code into the editor and swapping it to and from source mode to see if that works. I wasn't interested in what language you were using but the config option which is a regular expression array. The way both languages are protected works in similar ways when you set the option correctly if you read the API and look at the source code to see how it works. If one works, they both should work unless either the regexp is incorrect or your ASP.NET code contains errors.
But yeah, developing in ASP.NET is for boners. Enjoy!
Thanks,
Zanpakutō
Re: asp .net code protectedSource
Is there someone else out there that can help with this problem?
Re: asp .net code protectedSource
You still do not get it.
I am not asking you to use PHP.
I am asking that you try to test if you can save PHP code using the editor without it being destroyed, using the protected source method for PHP.
Doing so does not require you to have PHP set up in any way whatsoever.
It is merely a simple test to rule out your ASP.NET code being the problem here.
PHP is irrelevant to this test because you could use anything - like instead, ruby perl or python to do the test, if you know the regexp to add to protected source.
The purpose of the test is to find the root cause of the problem because your "Guess" that it is a CKEditor problem is likely incorrect.
As I have explained, which you have misunderstood, language is not important. Testing the environment your editor is working in, is.
As far as testing an ASP.NET box out, a few things :
1. I wouldn't lower my standards. ASP.NET is unsuitable for forward thinking open web projects and no one who is successful on the open web uses it. Facebook, No. PHP. Twitter, No. Scala. Google, No. Java, python and possibly some perl and others.
2. Setting up ASP.NET requires a MIcrosoft server. Microsoft servers are slow, do not provide value for money, are expensive with huge upgrade software & support costs and unreliable. I am not interested in paying for that kind of software.
3. I wouldn't be able to re-create your working environment in a reliable way in order to "Test" what you see as an issue.
4. Using ASP.NET means that you are being paid to do the work you are doing because operating an ASP.NET server without there being payment involved is idiocy. So that is where my choice to try to offer you assistance ends. It looks like you need to pay a professional web developer to solve your issue unless you find someone who is willing to help you with your proprietary project for free.
Originally, I was trying to have a bit of a joke with you because most people say, "Yeah, I have to use ASP.NET, it sucks, it's what they use at work." But obviously, using it is a choice you have made instead.
Sorry to hear about that.
I strongly suggest that you pay for CKEditor support if you haven't already and seek resolution by email.
Good luck with your issue.
Thanks,
Zanpakutō
Re: asp .net code protectedSource
The CKEditor adds a tag to encapsulate the special characters. This tag is supposed to protect the special characters. It happens for any regular expression in the config file I express or what is documented in the manual provided in the help section.
The tag is placed correctly. Although, it does not protect the special characters as stated in my previous post...
The issue is not relevant to PHP code or whatever language. The tagging system to protect the special characters is not working.
Zanpakutō, please focus on the intention of the post. I care not which language you prefer or your standards of professionalism. Nor do I wish to have a conversation with you about this or anything else. I am here on the forums asking the public domain if they have any clue on how to fix this problem. I would appreciate it if you would not flood this thread with your side comments. I know for a fact others do have the same problem and a solution would help.
Lastly, and more importantly, I am not prepared to pay for a product that does not provide a fully functioning and basic feature that is critical and center to the intended use. It would be a true shame for CKEditor if this bug is not resolved.
Thank you for the consideration as I am sure it will help the CKEditor community.
Re: asp .net code protectedSource
Re: asp .net code protectedSource
Here is what I have,
In the configuration file, I've added:
In source mode, I have added:
This is what I get when I review the source again:
Re: asp .net code protectedSource