Answer the question
In order to leave comments, you need to log in
Is it possible to add headers and footers in Tiny MCE?
When printing a document, it is necessary to form your own headers and footers on each page.
Is there such a feature in Tiny MCE?
I tried this build but it doesn't work.
tinymce.init({
setup : function(ed) {
ed.onInit.add(function(ed) {
var header = '<header>ABCD</header>',
footer = '<div>footer</div>',
content = ed.getContent();
content = header + content + footer;
ed.setContent(content);
});
}
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question