|
|
@@ -23,7 +23,6 @@ export default class EditorContainer extends Container {
|
|
|
|
|
|
this.appContainer = appContainer;
|
|
|
this.appContainer.registerContainer(this);
|
|
|
- // this.retrieveEditorSettings = this.retrieveEditorSettings.bind(this);
|
|
|
|
|
|
const mainContent = document.querySelector('#content-main');
|
|
|
|
|
|
@@ -37,10 +36,6 @@ export default class EditorContainer extends Container {
|
|
|
|
|
|
previewOptions: defaultPreviewOptions,
|
|
|
|
|
|
- // Defaults to null to show modal when not in DB
|
|
|
- // isTextlintEnabled: null,
|
|
|
- // textlintRules: [],
|
|
|
-
|
|
|
indentSize: this.appContainer.config.adminPreferredIndentSize || 4,
|
|
|
};
|
|
|
|
|
|
@@ -96,19 +91,11 @@ export default class EditorContainer extends Container {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // TODO: Remove when SWR is complete
|
|
|
getCurrentOptionsToSave() {
|
|
|
const opt = {
|
|
|
- // isSlackEnabled: this.state.isSlackEnabled,
|
|
|
- // slackChannels: this.state.slackChannels,
|
|
|
- // grant: this.state.grant,
|
|
|
pageTags: this.state.tags,
|
|
|
};
|
|
|
|
|
|
- // if (this.state.grantGroupId != null) {
|
|
|
- // opt.grantUserGroupId = this.state.grantGroupId;
|
|
|
- // }
|
|
|
-
|
|
|
return opt;
|
|
|
}
|
|
|
|