-
- 'use strict';
-
- Drupal.quickedit.EditorView = Backbone.View.extend(/** @lends Drupal.quickedit.EditorView# */{
-
- /**
- * A base implementation that outlines the structure for in-place editors.
- *
- * Specific in-place editor implementations should subclass (extend) this
- * View and override whichever method they deem necessary to override.
- *
- * Typically you would want to override this method to set the
- * originalValue attribute in the FieldModel to such a value that your
- * in-place editor can revert to the original value when necessary.
- *
- * @example
- * <caption>If you override this method, you should call this
- * method (the parent class' initialize()) first.</caption>
- * Drupal.quickedit.EditorView.prototype.initialize.call(this, options);
- *
- * @constructs
- *
- * @augments Backbone.View
- *
- * @param {object} options
- * An object with the following keys:
- * @param {Drupal.quickedit.EditorModel} options.model
- * The in-place editor state model.
- * @param {Drupal.quickedit.FieldModel} options.fieldModel
- * The field model.
- *
- * @see Drupal.quickedit.EditorModel
- * @see Drupal.quickedit.editors.plain_text
- */
- initialize: function (options) {