Quantcast
Channel: CKEditor™ Provider for DNN®
Viewing all articles
Browse latest Browse all 1992

New Post: Eliminate Random line-height: Tags

$
0
0
Thanks.

Can you please tell me what line of code I need to add to the contents.css file?

I was going to add this code to the config.js file based on this thread: http://ckeditor.com/forums/CKEditor/ckeditor-4.01-inserting-span-elements-everywhere-with-a-line-height-of-1.6em

(function() {
var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
if (isChrome) {
    CKEDITOR.on( 'instanceLoaded', function( e ){
        this.addCss('.cke_editable { line-height: normal; }');
    });
}
})();

I would rather just follow your lead and add the line of code to the contents.css file.

Viewing all articles
Browse latest Browse all 1992

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>