CKEditor automatically strips classes from div

Disabling content filtering The easiest solution is going to the config.js and setting: config.allowedContent = true; (Remember to clear browser’s cache). Then CKEditor stops filtering the inputted content at all. However, this will totally disable content filtering which is one of the most important CKEditor features. Configuring content filtering You can also configure CKEditor’s content … Read more

‘POCO’ definition

“Plain Old C# Object” Just a normal class, no attributes describing infrastructure concerns or other responsibilities that your domain objects shouldn’t have. EDIT – as other answers have stated, it is technically “Plain Old CLR Object” but I, like David Arno comments, prefer “Plain Old Class Object” to avoid ties to specific languages or technologies. … Read more

Interface pointers C++

One note is that you do not need to explicitly cast to an accessible base class, like you do in MyInterface* pMyInterface = (MyInterface*)myclass;. It is an implicit conversion from a pointer/reference to a derived class to that of an accessible base class. In fact, such casting may introduce bugs if the classes are unrelated. … Read more