Open
Description
Short description of the issue
I have a CKEditor field which I've enabled inline front-end editing for by wrapping it in the <edit page="" field=""></edit>
syntax. The field is from a page other than the current $page. When I try to add an image or link a file, it is using the current $page to store/retrieve the files instead of the page of the field that I am editing.
Expected behavior
I expect to be able to upload and select images and files that are stored on the page of the field that I'm editing (As is the case with modal front-end editing)
Actual behavior
I can only upload/select images on the current page.
Steps to reproduce the issue
<edit page="123" field="myCkEditorField"><?= $pages->get(123)->myCkEditorField ?></edit>
- Double click the field content to open the inline editor, then click on the image button.
- Weep
Setup/Environment
- ProcessWire version: 3.0.123
- (Optional) PHP version: 7