Fix undo reverts and update flcc to working version (#748)

* Revert "Fix  tinymce editor problems (#743)"

This reverts commit e6ce05571f.

* chore: update flcc to working version

* chore: update flcc to version that disables plugins
This commit is contained in:
Jesper Hodge
2023-12-14 15:30:05 -05:00
committed by GitHub
parent e6ce05571f
commit 94725dfe3c
45 changed files with 1055 additions and 404 deletions

View File

@@ -1,5 +1,6 @@
import { getAuthenticatedHttpClient } from '@edx/frontend-platform/auth';
import { getConfig } from '@edx/frontend-platform';
import { convertObjectToSnakeCase } from '../../utils';
class ExamsApiService {
static isAvailable() {
@@ -26,8 +27,9 @@ class ExamsApiService {
}
static saveCourseExamConfiguration(courseId, dataToSave) {
const snakecaseDataToSave = convertObjectToSnakeCase(dataToSave, true);
const apiClient = getAuthenticatedHttpClient();
return apiClient.patch(this.getExamConfigurationUrl(courseId), dataToSave);
return apiClient.patch(this.getExamConfigurationUrl(courseId), snakecaseDataToSave);
}
}