import { ACTION_COLOR_DEFAULT } from "./../ricos-styles/theme-constants.js";
import { createRicosFunctionalExtension } from "./create-ricos-extension/index.js";
import { dropCursor } from "./dropcursor-plugin.js";
import styles from "./statics/styles-scss.js";
const dropcursor = createRicosFunctionalExtension({
  name: "dropCursor",
  groups: [],
  type: "extension",
  createExtensionConfig() {
    return {
      name: this.name,
      addOptions() {
        return {
          color: ACTION_COLOR_DEFAULT,
          width: 2,
          class: styles.dropcursor
        };
      },
      addProseMirrorPlugins() {
        return [dropCursor(this.options)];
      }
    };
  }
});
export {
  dropcursor
};
//# sourceMappingURL=dropcursor.js.map
