I've googled this and search on this site and I can't find an answer: how do I set allowedContent to true in the .Net control?
Basically my problem is that the editor is stripping out styles, css, and HTML elements that I don't provide toolbar buttons for, which is unwanted behavior. Based on my searches, I assume that setting allowedContent to true will rectify this, but there doesn't appear to be any support for this in the .Net control.
What is your CKEditor version
What is your CKEditor version? The last official release for the .NET control was CKEditor 3.6.6.2 for ASP.NET, while Advanced Content Filter (the feature that controls allowed content and strips disallowed content) was introduced in CKEditor 4.1.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
I'm running whatever came
I'm running whatever came with CKEditor 3.6.6.2. If I set allowedContent = true and allowedExtraContent = true in config.js it works. However, there is no support for this in the .Net control itself. This needs to be fixed.
I'm running into another issue though: in IE 11, it's stripping out table cell attributes such as bgcolor, valign, width, etc. This does not happen in Chrome or Firefox.
Like I said above,
Like I said above, allowedContent settings cannot work in CKEditor 3.6.6.2 because Advanced Content Filter, the feature itself, was only introduced in CKEditor 4.1. So either you are using the last official release of CKEditor for ASP.NET (which is CKEditor 3.6.6.2 for ASP.NET with no support for ACF whatsoever) or you combined the 3.6.6.2 control with some version of CKEditor 4 by yourself and created a custom package. In the latter case you are using a custom, unsupported solution that has not been tested by us and I'm afraid it will be difficult to help you solve this.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!