javascript - I am not able to change the position of my ck editor -
i not able position ck editor.
below js client code
template.a.onrendered(function(){ ckeditor.replace('b'); $('ckeditor').css({'position':'relative','left':'-40px', 'top': '5px'}); });
after ck editor has replaced editor id in case "b". how change position. above method not working. correct method doing that?
new programming. so, please forgive me diversion programming conventions. hugely appreciated.
what using pure css (use id or class select dom):
#my_ckeditor{ position:'relative' !important; left:'-40px' !important; top: '5px' !important; }
you can add id ckeditor, , use id selector css.
important! means style has highest priority default ckeditor stylesheet.
Comments
Post a Comment