Skip to content

Refactor StudioEditableBlock's callbacks for editing & duplication #33715

Description

@kdmccormick

Make studio_post_duplicate, editor_saved, and post_editor_saved real inheritable methods on StudioEditableBlock, rather than some getattr hackery, as suggested here: https://github.com/openedx/edx-platform/pull/7482/files#r27728847

Also, consider renaming:

  • studio_post_duplicate -> studio_duplicate
  • editor_saved -> studio_saving
  • post_editor_saved -> studio_saved

Metadata

Metadata

Assignees

Labels

code healthProactive technical investment via refactorings, removals, etc.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions