I have a problem with Druapl 8.2.1 text editor and CKeditor, system keeps stripping - removing classes from "
And example of this:
<div class="social clearfix"> </div>
System renders:
<div> </div>
I can't configure the allowed elements, that was only possible in previous versions (config.allowedContent = true;)
Any help would be greatly appreciated
Ok, well after breaking my head thinking and re thinking in all I have already done I just did what it was left to do.
Since there is no way to modify the allowedContent in Drupal version 8.2.x... what I did before it was to create a "New text format and editor" but I had selected the option "Limit allowed HTML tags and correct faulty HTML" and in the allowed HTML tags field I had all the classes I wanted to be accepted:
I just unchecked the "Limit allowed HTML tags and correct faulty HTML" and keep the "Correct faulty and chopped off HTML" option checked, saved and voila!!
Now Drupal keeps all my div classes.
Take into consideration that in the option "Text editor" I had selected "NONE", it do not work if "CKEditor" is selected.
:)