Content
View differences
Updated by Oliver Günther almost 8 years ago
**Current state** (as of https://github.com/opf/openproject/pull/6434)
- Wiki pages receive their hal resource representation through a data URL. This ensures we can get a represented object even when the wiki page is new (cannot fetch).
- For existing wiki pages, `uploadAttachment` is added similarly to how work packages function in order to integrate with the CKEditor upload adpater
**Missing**
- For new wiki pages, attachments are correctly uploaded through the generic attachment endpoint
- However, they are never linked with the wiki page created through the controller
- There is no way to keep a persistent copy of which attachments we added since its a Rails form request
- We need some way to pass the attachments we uploaded through CKE to the Rails form.
- Wiki pages receive their hal resource representation through a data URL. This ensures we can get a represented object even when the wiki page is new (cannot fetch).
- For existing wiki pages, `uploadAttachment` is added similarly to how work packages function in order to integrate with the CKEditor upload adpater
**Missing**
- For new wiki pages, attachments are correctly uploaded through the generic attachment endpoint
- However, they are never linked with the wiki page created through the controller
- There is no way to keep a persistent copy of which attachments we added since its a Rails form request
- We need some way to pass the attachments we uploaded through CKE to the Rails form.