Add template with inline styles to ckeditor
Add template with inline styles to ckeditor I'm trying to add this html to ckeditor template Firstly, in assets/javascripts/ckeditor/config.js with config.allowedContent = true; I allowed style tags And then, In assets/javascripts/ckeditor/plugins/templates/templates/default.js I added the following code <style> .body {color:#474d5d; font-size: 13px;} h1 {font-size:18px; font-weight: 400;text-align:center} h2 {color:#233974; font-weight:700; font-size:14px;border-bottom:2px solid #233974;} h2 img {width:15px; margin-right: 5px;} li {margin-bottom: 10px;} ul.exp, ul.formacion{margin-bottom: 40px;} .company{border:0px solid black; float:right; margin-bottom:0px; margin-left:0px; margin-right:0px; margin-top:0px; width:150px} .img-formacion {width: 20px;} .position{text-align:center; font-size:18px; margin-bottom: 40px;} .CV {clear:both; text-align:center; font-size:18px;} .n_1{margin-top: 10px;} </style> Curriculum Vitae [Name] [Position] EXPERIENCIA PROFESIONAL [ desde...
