/**
 * The rich text content controller
 */
export class RichTextContentController {
  constructor(editor) {
    this.editor = editor;
  }
  /**
   * Sync rich text content editable with disabled property
   *
   */
  syncRichTextContentEditable() {
    this.editor.richTextContentEditable = !this.editor.disabled;
  }
}
