@tailor-cms/ce-html-edit 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -27937,7 +27937,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
27937
27937
  vue.createVNode(_component_VTooltip, { location: "bottom" }, {
27938
27938
  activator: vue.withCtx(({ props: tooltip }) => [
27939
27939
  vue.createVNode(_component_VBtn, vue.mergeProps({
27940
- disabled: !_ctx.editor.can().chain().focus().setTextAlign().run(),
27940
+ disabled: !_ctx.editor.can().chain().focus().setTextAlign("left").run(),
27941
27941
  "aria-label": "Text align",
27942
27942
  class: "pa-0",
27943
27943
  "min-width": "46",
@@ -27983,7 +27983,6 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
27983
27983
  return vue.createVNode(_component_VListItem, {
27984
27984
  key: textAlign,
27985
27985
  active: _ctx.editor.isActive({ textAlign }),
27986
- disabled: !_ctx.editor.can().chain().focus().setTextAlign().run(),
27987
27986
  class: "px-2",
27988
27987
  "min-height": "36",
27989
27988
  rounded: "sm",
@@ -28008,7 +28007,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
28008
28007
  }, 1024)
28009
28008
  ]),
28010
28009
  _: 2
28011
- }, 1032, ["active", "disabled", "onClick"]);
28010
+ }, 1032, ["active", "onClick"]);
28012
28011
  }), 64))
28013
28012
  ]),
28014
28013
  _: 1
@@ -28019,7 +28018,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
28019
28018
  };
28020
28019
  }
28021
28020
  });
28022
- const TextAlign = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-1b30eb43"]]);
28021
+ const TextAlign = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-4dcb8515"]]);
28023
28022
  const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
28024
28023
  __name: "ColorPicker",
28025
28024
  props: {
package/dist/index.css CHANGED
@@ -196,7 +196,7 @@
196
196
  margin-top: 0.125rem;
197
197
  }.v-list-item + .v-list-item[data-v-70882e8a] {
198
198
  margin-top: 0.125rem;
199
- }.v-list-item + .v-list-item[data-v-1b30eb43] {
199
+ }.v-list-item + .v-list-item[data-v-4dcb8515] {
200
200
  margin-top: 0.125rem;
201
201
  }.mdi-color-helper[data-v-0b56d20a] {
202
202
  position: absolute !important;
package/dist/index.js CHANGED
@@ -27935,7 +27935,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
27935
27935
  createVNode(_component_VTooltip, { location: "bottom" }, {
27936
27936
  activator: withCtx(({ props: tooltip }) => [
27937
27937
  createVNode(_component_VBtn, mergeProps({
27938
- disabled: !_ctx.editor.can().chain().focus().setTextAlign().run(),
27938
+ disabled: !_ctx.editor.can().chain().focus().setTextAlign("left").run(),
27939
27939
  "aria-label": "Text align",
27940
27940
  class: "pa-0",
27941
27941
  "min-width": "46",
@@ -27981,7 +27981,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
27981
27981
  return createVNode(_component_VListItem, {
27982
27982
  key: textAlign,
27983
27983
  active: _ctx.editor.isActive({ textAlign }),
27984
- disabled: !_ctx.editor.can().chain().focus().setTextAlign().run(),
27985
27984
  class: "px-2",
27986
27985
  "min-height": "36",
27987
27986
  rounded: "sm",
@@ -28006,7 +28005,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
28006
28005
  }, 1024)
28007
28006
  ]),
28008
28007
  _: 2
28009
- }, 1032, ["active", "disabled", "onClick"]);
28008
+ }, 1032, ["active", "onClick"]);
28010
28009
  }), 64))
28011
28010
  ]),
28012
28011
  _: 1
@@ -28017,7 +28016,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
28017
28016
  };
28018
28017
  }
28019
28018
  });
28020
- const TextAlign = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-1b30eb43"]]);
28019
+ const TextAlign = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-4dcb8515"]]);
28021
28020
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
28022
28021
  __name: "ColorPicker",
28023
28022
  props: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Tailor CMS HTML editor authoring component",
4
4
  "author": "Studion <info@gostudion.com> (https://github.com/tailor-cms)",
5
5
  "type": "module",
6
- "version": "0.1.5",
6
+ "version": "0.1.6",
7
7
  "exports": {
8
8
  ".": {
9
9
  "import": "./dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "typescript": "^5.8.3",
27
27
  "vite": "^7.0.3",
28
28
  "vue-tsc": "^3.0.1",
29
- "@tailor-cms/ce-html-manifest": "0.1.5"
29
+ "@tailor-cms/ce-html-manifest": "0.1.6"
30
30
  },
31
31
  "dependencies": {
32
32
  "@intevation/tiptap-extension-office-paste": "^0.1.2",