@elia-ori/editor 0.1.20 → 0.1.22
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 +5 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +5 -6
- package/dist/index.js.map +1 -1
- package/dist/styles/editor.css +15 -17
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6124,18 +6124,17 @@ var MainToolbarContent = ({
|
|
|
6124
6124
|
] }),
|
|
6125
6125
|
has("undo-redo") && (has("heading") || has("list") || has("blockquote") || has("code-block") || has("callout") || has("table")) && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(ToolbarSeparator, {}),
|
|
6126
6126
|
(has("heading") || has("list") || has("blockquote") || has("code-block") || has("callout") || has("table")) && /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(ToolbarGroup, { children: [
|
|
6127
|
-
has("heading") && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(HeadingDropdownMenu, { levels: [1, 2, 3, 4]
|
|
6127
|
+
has("heading") && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(HeadingDropdownMenu, { levels: [1, 2, 3, 4] }),
|
|
6128
6128
|
has("list") && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
6129
6129
|
ListDropdownMenu,
|
|
6130
6130
|
{
|
|
6131
|
-
types: ["bulletList", "orderedList", "taskList"]
|
|
6132
|
-
portal: isMobile
|
|
6131
|
+
types: ["bulletList", "orderedList", "taskList"]
|
|
6133
6132
|
}
|
|
6134
6133
|
),
|
|
6135
6134
|
has("blockquote") && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(BlockquoteButton, {}),
|
|
6136
6135
|
has("code-block") && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(CodeBlockButton, {}),
|
|
6137
|
-
has("callout") && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(CalloutButton, {
|
|
6138
|
-
has("table") && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(TableButton, {
|
|
6136
|
+
has("callout") && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(CalloutButton, {}),
|
|
6137
|
+
has("table") && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(TableButton, {})
|
|
6139
6138
|
] }),
|
|
6140
6139
|
(has("heading") || has("list") || has("blockquote") || has("code-block") || has("callout") || has("table")) && (has("format") || has("text-color") || has("highlight") || has("link")) && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(ToolbarSeparator, {}),
|
|
6141
6140
|
(has("format") || has("text-color") || has("highlight") || has("link")) && /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(ToolbarGroup, { children: [
|
|
@@ -6146,7 +6145,7 @@ var MainToolbarContent = ({
|
|
|
6146
6145
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(MarkButton, { type: "code" }),
|
|
6147
6146
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(MarkButton, { type: "underline" })
|
|
6148
6147
|
] }),
|
|
6149
|
-
has("text-color") && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(TextColorButton, {
|
|
6148
|
+
has("text-color") && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(TextColorButton, {}),
|
|
6150
6149
|
has("highlight") && (!isMobile ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(ColorHighlightPopover, {}) : /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(ColorHighlightPopoverButton, { onClick: onHighlighterClick })),
|
|
6151
6150
|
has("link") && (!isMobile ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(LinkPopover, {}) : /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(LinkButton, { onClick: onLinkClick }))
|
|
6152
6151
|
] }),
|