You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a dotCMS user, I want to be able to use the new page editor with VTL rendered pages.
This should only apply to pages that are not headless. When the feature flag is set, the new editor should display a VTL rendered page in the editor iframe.
The content you are editing has changed. Please copy your edits and refresh the page.
// Step 1: Create the contentvarhtmlContent='<!DOCTYPE html><html><body><h1>Hello, World!</h1></body></html>';// Step 2: Create a Blob from the contentvarblob=newBlob([htmlContent],{type: 'text/html'});// Step 3: Create a Blob URLvarblobUrl=URL.createObjectURL(blob);// Step 4: Set the Blob URL as the iframe sourcevariframe=document.createElement('iframe');document.body.appendChild(iframe);iframe.src=blobUrl;
We don't know the implications of this in terms of permissions and cross-origin issues.
Assumptions & Initiation Needs
The feature flag for rendering HTML from the page API in the new editor should be implemented and activated.
The VTL template associated with each page should be correctly defined and accessible.
The new editor should be integrated with the page API to retrieve the HTML content for rendering.
The text was updated successfully, but these errors were encountered:
Parent
#27546
Task description
As a dotCMS user, I want to be able to use the new page editor with VTL rendered pages.
This should only apply to pages that are not headless. When the feature flag is set, the new editor should display a VTL rendered page in the editor iframe.
Acceptance Criteria
External Links
We can try to use Blob to render the
HTML
We don't know the implications of this in terms of permissions and cross-origin issues.
Assumptions & Initiation Needs
The text was updated successfully, but these errors were encountered: