i am using ckeditor and i have vary strange issue.
it remove automatically empty <span>
for example
<span class="new-class"></span>
removed automatically.
i am searching for solution for last 2 days but no success. i try to put following code in
config.js
CKEDITOR.config.allowedContent = true;
but no success.
i also add following code in html where i use ckeditor but no success.
<script>
var editor = CKEDITOR.replace( 'editor1', {
allowedContent: true,
} );
</script>
thanks