How to save my imported pages in the database? #3859
Unanswered
alessandroprudencio
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a page editor created with grapes and I'm using the gjs-preset-webpage plugin to import other html pages, however when I import the source code it inserts in the tag the styles that come from the other page and the body inserts a #wrapper div, however, when I run the editor.getHtml() command, it doesn't return the tag elements with the <style>, just the body. So what would be the best way to save this page to my database already with the external styles and scripts that were imported?
This is after the imported page:

Beta Was this translation helpful? Give feedback.
All reactions