0
yogi posted
CKEditor strips span tag , how to avoid it ?
CKEditor Standard Package strips span tag which is empty like this
<span class="tittle-line"></span>
i put allowedContent to true
$(function () {
CKEDITOR.replace('desc',{
allowedContent: true,
autoGrow_onStartup: true,
enterMode: CKEDITOR.ENTER_BR
});
});
and than i tried
extraAllowedContent : "span(*)"
$(function () {
CKEDITOR.replace('tPageDesc',{
extraAllowedContent : "span(*)",
allowedContent: true,
autoGrow_onStartup: true,
enterMode: CKEDITOR.ENTER_BR
});
});
still it strips span tag