Hello I am building a flask web application and including a web text editor called ckeditor into it. I figured out how to include custom resume templates into my application by modifying a file called default.js. I think anyone who knows a lot about javascript could help me out, without knowing about ckeditor specifics
My issue is that I want to style the html such as name in the h1 tag etc but am not sure how to do this. The default.js file uses a javascript array to render templates. How would I link a css stylesheet to the html I have in default.js and actually have it be styled. Any help would be appreciated!
Here is the script I have in that default.js, which currently renders one template
// Register a template definition set named "default".
CKEDITOR.addTemplates( 'default',
{
// The name of the subfolder that contains the preview images of the templates.
imagesPath : CKEDITOR.getUrl( CKEDITOR.plugins.getPath( 'templates' ) + 'templates/images/' ),
// Template definitions.
templates :
[
{
title:'Resume Simple',
image:'resume1.jpg',
html:
'<h1>Name</h1>' +
'<p>[Address, City, ST Zip Code][Telephone][Email]'+
'<h3>Education</h3>'+
'<p>[Degree][Date Earned][School]</p>'+
'<h3>Skills & Abilities</h3>'
}
]
});