I want to embed a web application created with HTML, CSS, and Javascript into PowerPages, but for some reason the HTML content gets changed without permission and the app doesn't work properly.
How it is changed is that all id elements that exist in the HTML disappear (for example, <div id="aaa" style="margin: 10px 0;"></div> becomes <div style=" margin: 24px 0;"></div>)
Here I will explain how I incorporate web applications into PowerPages.
1. Create a site without using a template
2. Then go to PowerPagesManagement's WebPage, go to the page where you want to embed the application, and paste the HTML of the web application you created in Copy (HTML) (the contents here will be changed automatically).
3. Then add the js and css files used in the web application to the same page as web files. When adding a js file, delete the file extension and select the file (you cannot select it if it has an extension)
4.When I synchronize in DesignStudio and display the site in Preview, it doesn't work properly, and when I check it in DevTools, all the HTML id elements have disappeared. (The first attached image is the input HTML, the second is the HTML after it has been changed without permission)
Please let me know if you know anything about this. Thanks