Comments: Added back-end content reference handling
Some checks are pending
analyse-php / build (push) Waiting to run
lint-js / build (push) Waiting to run
lint-php / build (push) Waiting to run
test-js / build (push) Waiting to run
test-migrations / build (8.2) (push) Waiting to run
test-migrations / build (8.3) (push) Waiting to run
test-migrations / build (8.4) (push) Waiting to run
test-php / build (8.2) (push) Waiting to run
test-php / build (8.3) (push) Waiting to run
test-php / build (8.4) (push) Waiting to run

Also added archived property, to be added.
This commit is contained in:
Dan Brown
2025-04-18 21:13:49 +01:00
parent add238fe9f
commit 5e3c3ad634
7 changed files with 65 additions and 3 deletions

View File

@ -95,7 +95,7 @@ export class PageComments extends Component {
const reqData = {
html: this.wysiwygEditor.getContent(),
parent_id: this.parentId || null,
content_reference: this.contentReference || '',
content_ref: this.contentReference || '',
};
window.$http.post(`/comment/${this.pageId}`, reqData).then(resp => {