import { textColorConverter } from "./color-converter.js";
import { getTextColorTextButtons } from "./get-text-color-text-buttons.js";
import { tiptapColorForegroundExtension } from "./tiptap-foreground.js";
import { TEXT_COLOR_TYPE } from "./types.js";
const pluginTextColor = (config = {}) => {
  return {
    config: { ...config, type: "textColor" },
    pmMarkConverters: [textColorConverter],
    pmNodeConverters: [],
    type: TEXT_COLOR_TYPE,
    textButtons: getTextColorTextButtons(config),
    tiptapExtensions: [tiptapColorForegroundExtension]
  };
};
export {
  pluginTextColor
};
//# sourceMappingURL=text-color-editor.js.map
