Closed
Bug 753781
Opened 14 years ago
Closed 14 years ago
kuma: preview *new* articles with processed kumascript templates
Categories
(developer.mozilla.org Graveyard :: Editing, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: groovecoder, Unassigned)
References
Details
(Whiteboard: u=user c=wiki)
Because kumascript GETs a document from kuma to process templates, the "preview changes" feature doesn't work on *new* documents - i.e., until they are saved. AFAICT, we can fix this by:
1. Refactor kumascript to accept article content string instead of an article url
2. Preemptively save a document
3. ?
Updated•14 years ago
|
Comment 1•14 years ago
|
||
Is this still a valid bug? I thought we had this working with POSTs to kumascript.
Comment 2•14 years ago
|
||
Previews are being process with Kumascript despite not being saved, so this is set. Worked by:
1. Creating template with this content:
<%= $0 %>
2. Went to the "new doc" page, added content:
{{Alert("Child8")}}
And clicked "Preview", and "Child8" displayed in the preview.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•14 years ago
|
Version: Kuma → unspecified
| Assignee | ||
Updated•14 years ago
|
Component: Docs Platform → Editing
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•