@ -3,7 +3,7 @@ import { EditorBuild } from "/loader/editor-build.js"
export class Layout extends HTMLElement {
cspProfiles = {
local: "default-src 'self' 'unsafe-inline' 'unsafe-eval'",
jsCdns: "default-src cdn.jsdelivr.net data.jsdelivr.com unpkg.com 'self' 'unsafe-inline' 'unsafe-eval'",
unpkg: "default-src unpkg.com 'self' 'unsafe-inline' 'unsafe-eval'",
open: undefined,
}
@ -228,7 +228,10 @@ export class PageActions extends HTMLElement {
)
settingsEl.cspProfiles = this.cspProfiles
settingsEl.data = this.page.settings
dialog.bodyEl.appendChild(settingsEl)
const h = document.createElement('h2')
h.innerText = this.text.settings
dialog.headerEl.append(h)
dialog.bodyEl.append(settingsEl)
const bGroup = document.createElement(
'm-forms-button-group'