Issue #2462Opened December 20, 2019by hellocaio0 reactions

[QUESTION] Is it possible to save header, footer and body separately for multiple pages?

Question

Hi,

I am trying to implement multiple pages. With multiple pages, I would like to share the header and footer among all pages to keep consistency, so I think the approach is to save them separately. Is this possible? Any advice?

Answers (2)

hellocaioDecember 21, 20190 reactions

This is what I am thinking:

const html = $(editor.getHtml());
const header = html.find("header").html();
const footer = html.find("footer").html();

But I don't like the fact that I am using jQuery :/.... any work around this?

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.