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
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
Template editing requires some refactoring of bits to allow for synthetic documents to be loaded into the frame, map operations back to the source document, etc. These are prerequisites for Polymer element editing as well.
The general approach will be to introduce a "document editor" concept that will interpret all commands generated by the stage and the DocumentServer. A SimpleHtmlEditor will just pass through commands. A TemplateHtmlEditor will do the correct mapping.
Synthetic documents need to be generated on the server in order to have the same domain as the rest of the project, and so that relative URLs resolve correctly. After initial load, synthetic documents will be modified in place like source documents.
Add designer-template-inspector with "Edit Template" button
Add support for edit-template query parameter to project server to generate synthetic document.
Rename designer-ui-editor to designer-html-editor
Move top-level command handling from designer-app to designer-ui-editor
Add SimpleHtmlEditor that handles all commands before passing to designer-document
Add TemplateHtmlEditor to transform commands from synthetic to source documents.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Template editing requires some refactoring of bits to allow for synthetic documents to be loaded into the frame, map operations back to the source document, etc. These are prerequisites for Polymer element editing as well.
The general approach will be to introduce a "document editor" concept that will interpret all commands generated by the stage and the DocumentServer. A SimpleHtmlEditor will just pass through commands. A TemplateHtmlEditor will do the correct mapping.
Synthetic documents need to be generated on the server in order to have the same domain as the rest of the project, and so that relative URLs resolve correctly. After initial load, synthetic documents will be modified in place like source documents.
designer-template-inspector
with "Edit Template" buttonedit-template
query parameter to project server to generate synthetic document.designer-ui-editor
todesigner-html-editor
designer-app
todesigner-ui-editor
SimpleHtmlEditor
that handles all commands before passing todesigner-document
TemplateHtmlEditor
to transform commands from synthetic to source documents.The text was updated successfully, but these errors were encountered: