import { dataHook } from "./../../wix-rich-content-common/index.js";
import { TEXT_BUTTON_ITALIC } from "./data-hooks.js";
const createItalicTestkit = () => {
  return {
    content: {},
    toolbars: {
      createTextButtonToolbars: (getTextButtonToolbarBase) => ({
        click: async () => {
          const button = getTextButtonToolbarBase().$(dataHook(TEXT_BUTTON_ITALIC));
          await button.click();
        },
        getElement: () => getTextButtonToolbarBase().get(dataHook(TEXT_BUTTON_ITALIC))
      })
    }
  };
};
export {
  createItalicTestkit
};
//# sourceMappingURL=italic.testkit.js.map
