@bagelink/vue 0.0.903 → 0.0.905
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/components/form/inputs/RichText2/index.vue.d.ts +1 -0
- package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/vue.css +8 -8
- package/package.json +1 -1
- package/src/components/form/inputs/RichText2/index.vue +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/RichText2/index.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/RichText2/index.vue"],"names":[],"mappings":"AA+SA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AA6ErD,MAAM,MAAM,aAAa,GAAG,aAAa,CAAC,MAAM,CAAC,CAAA;;gBArEb,MAAM;oBAAkB,aAAa;;;;gBAArC,MAAM;oBAAkB,aAAa;;;;AA2QzE,wBAOG"}
|
package/dist/index.cjs
CHANGED
|
@@ -44263,7 +44263,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
44263
44263
|
};
|
|
44264
44264
|
}
|
|
44265
44265
|
});
|
|
44266
|
-
const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-
|
|
44266
|
+
const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-cca783dc"]]);
|
|
44267
44267
|
const _hoisted_1$m = { class: "flex gap-05" };
|
|
44268
44268
|
const _hoisted_2$e = ["disabled"];
|
|
44269
44269
|
const _hoisted_3$b = { key: 1 };
|
package/dist/index.mjs
CHANGED
|
@@ -44261,7 +44261,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
44261
44261
|
};
|
|
44262
44262
|
}
|
|
44263
44263
|
});
|
|
44264
|
-
const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-
|
|
44264
|
+
const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-cca783dc"]]);
|
|
44265
44265
|
const _hoisted_1$m = { class: "flex gap-05" };
|
|
44266
44266
|
const _hoisted_2$e = ["disabled"];
|
|
44267
44267
|
const _hoisted_3$b = { key: 1 };
|
package/dist/vue.css
CHANGED
|
@@ -1214,29 +1214,29 @@ p {
|
|
|
1214
1214
|
8 #818181 /* few chars */
|
|
1215
1215
|
;
|
|
1216
1216
|
}
|
|
1217
|
-
.preview-area[data-v-
|
|
1217
|
+
.preview-area[data-v-cca783dc]{
|
|
1218
1218
|
font-family: "FontWithASyntaxHighlighter", monospace;
|
|
1219
1219
|
font-palette: --myCustomPalette;
|
|
1220
1220
|
background: var(--bgl-code-bg);
|
|
1221
1221
|
color: var(--bgl-code-color)
|
|
1222
1222
|
}
|
|
1223
|
-
.rich-text-editor[data-v-
|
|
1223
|
+
.rich-text-editor[data-v-cca783dc] {
|
|
1224
1224
|
background: var(--input-bg);
|
|
1225
1225
|
margin-bottom: 0.5rem;
|
|
1226
1226
|
width: 100%;
|
|
1227
1227
|
}
|
|
1228
|
-
.editableContent[data-v-
|
|
1228
|
+
.editableContent[data-v-cca783dc]{
|
|
1229
1229
|
min-height: 100%;
|
|
1230
1230
|
white-space: pre-wrap;
|
|
1231
1231
|
outline: none;
|
|
1232
1232
|
}
|
|
1233
|
-
.content-area[data-v-
|
|
1233
|
+
.content-area[data-v-cca783dc]{
|
|
1234
1234
|
background: var(--bgl-richtext-color);
|
|
1235
1235
|
}
|
|
1236
|
-
.content-area[data-v-
|
|
1236
|
+
.content-area[data-v-cca783dc], .preview-area[data-v-cca783dc]{
|
|
1237
1237
|
min-height: 200px;
|
|
1238
1238
|
}
|
|
1239
|
-
.fullscreen-mode[data-v-
|
|
1239
|
+
.fullscreen-mode[data-v-cca783dc] {
|
|
1240
1240
|
position: fixed;
|
|
1241
1241
|
top: 0;
|
|
1242
1242
|
left: 0;
|
|
@@ -1248,14 +1248,14 @@ p {
|
|
|
1248
1248
|
overflow: auto;
|
|
1249
1249
|
border-radius: 0;
|
|
1250
1250
|
}
|
|
1251
|
-
.fullscreen-mode .content-area[data-v-
|
|
1251
|
+
.fullscreen-mode .content-area[data-v-cca783dc]{
|
|
1252
1252
|
height: calc(100vh - 5rem);
|
|
1253
1253
|
padding: 4rem !important;
|
|
1254
1254
|
max-width: 900px;
|
|
1255
1255
|
margin-inline: auto ;
|
|
1256
1256
|
overflow-y: auto;
|
|
1257
1257
|
}
|
|
1258
|
-
.fullscreen-mode .toolbar[data-v-
|
|
1258
|
+
.fullscreen-mode .toolbar[data-v-cca783dc]{
|
|
1259
1259
|
max-width: 900px;
|
|
1260
1260
|
margin-inline: auto ;
|
|
1261
1261
|
/* border-bottom: 1px solid var(--border-color); */
|
package/package.json
CHANGED
|
@@ -72,7 +72,8 @@ function updateToolbarHighlight() {
|
|
|
72
72
|
|
|
73
73
|
document.addEventListener('selectionchange', updateToolbarHighlight)
|
|
74
74
|
|
|
75
|
-
type ToolbarAction = 'link' | 'image' | 'table' | 'youtube' | 'fontSize' | 'fontFamily' | 'textColor' | 'backgroundColor' | 'bold' | 'italic' | 'underline' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'orderedList' | 'unorderedList' | 'indent' | 'outdent' | 'blockquote' | 'codeBlock' | 'splitView' | 'codeView' | 'clear' | 'fullScreen'
|
|
75
|
+
// type ToolbarAction = 'link' | 'image' | 'table' | 'youtube' | 'fontSize' | 'fontFamily' | 'textColor' | 'backgroundColor' | 'bold' | 'italic' | 'underline' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'alignJustify' | 'orderedList' | 'unorderedList' | 'indent' | 'outdent' | 'blockquote' | 'codeBlock' | 'splitView' | 'codeView' | 'clear' | 'fullScreen'
|
|
76
|
+
export type ToolbarAction = ToolbarConfig[number]
|
|
76
77
|
|
|
77
78
|
function handleToolbarAction(action: string, value?: string) {
|
|
78
79
|
if (!editableContent) return
|