Allow user to import HTML file but only display body within dashboard
An odd question, I’m just trying to work this out in my head.
The idea is to allow users, once logged in, to let them upload their own HTML file which would only display the inner content, which would ignore the header/footer or strip them out. But after doing so ideally the user could then view what they’d imported as an HTML page of sorts.
I know I explained it badly, just trying to work the process out to see if it’s possible :)
I would go with a wysiwyg editor on a page instead or let the user user markdown to create the page.
That way you can control the html and the css on the page making sure it doesn't break anything.