Add MindSpace visual page editor and Plaza local Tunnel deployment.
In-preview HTML editing with undo/redo sync replaces Agent patch auto-save; Plaza runs on local Mac via Cloudflare Tunnel with embed height and CSP fixes. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+2
-2
@@ -46,7 +46,7 @@ import { startPlazaTasks, writebackPublications } from './plaza-tasks.mjs';
|
||||
import { createPlazaSeoService } from './plaza-seo.mjs';
|
||||
import { createPlazaOpsService, hasOpsRole } from './plaza-ops.mjs';
|
||||
import {
|
||||
injectPlazaEmbedBootstrap,
|
||||
preparePublicationHtmlForEmbed,
|
||||
isPlazaEmbedRequest,
|
||||
publishedPageCspForEmbed,
|
||||
} from './plaza-embed.mjs';
|
||||
@@ -3213,7 +3213,7 @@ function publishedPageCsp(html, { embed = false } = {}) {
|
||||
function sendPublishedPage(res, result, { embed = false } = {}) {
|
||||
let html = result.html;
|
||||
if (embed) {
|
||||
html = injectPlazaEmbedBootstrap(html);
|
||||
html = preparePublicationHtmlForEmbed(html);
|
||||
}
|
||||
res.set('Content-Type', 'text/html; charset=utf-8');
|
||||
res.set('Content-Security-Policy', publishedPageCsp(html, { embed }));
|
||||
|
||||
Reference in New Issue
Block a user