vdc-editor 0.1.287 → 0.1.288

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.
@@ -42,6 +42,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
42
42
  content: number;
43
43
  };
44
44
  toolbarExtensionOrder: undefined;
45
+ blockSeparatorPolicy: string;
45
46
  }>>, {
46
47
  editor: Editor;
47
48
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -107,6 +108,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
107
108
  content: number;
108
109
  };
109
110
  toolbarExtensionOrder: undefined;
111
+ blockSeparatorPolicy: string;
110
112
  }>>> & Readonly<{
111
113
  onChange?: ((value: import('../../type').SBSEditorOnChange) => any) | undefined;
112
114
  onOnFocus?: ((props: {
@@ -166,6 +168,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
166
168
  readonly: boolean;
167
169
  canEditSuperReadOnly: boolean;
168
170
  minChar: import('../../type').MinChar;
171
+ blockSeparatorPolicy: "paragraph" | "line";
169
172
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
170
173
  export default _default;
171
174
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
package/lib/src/type.d.ts CHANGED
@@ -518,6 +518,14 @@ export interface EditorProps {
518
518
  * @default undefined (BaseKit 설정을 따름)
519
519
  */
520
520
  characterCountLimit?: number;
521
+ /**
522
+ * 복사 시 블록(p태그) 간 구분자 정책
523
+ * - 'paragraph': 단락 구분 (개행 2줄, \n\n)
524
+ * - 'line': 줄 바꿈 (개행 1줄, \n)
525
+ *
526
+ * @default 'paragraph'
527
+ */
528
+ blockSeparatorPolicy?: 'paragraph' | 'line';
521
529
  }
522
530
  export interface EditorEmits {
523
531
  (event: 'enter'): void;
@@ -1,4 +1,4 @@
1
- import { A as i, b as o, a as t, D as r, c as E, E as d, S as p, g as S, d as u, S as C, j as H, i as L, k as n, n as l, u as T, e as _, h as f, f as g } from "./index-CSWlx85G.mjs";
1
+ import { A as i, b as o, a as t, D as r, c as E, E as d, S as p, g as S, d as u, S as C, j as H, i as L, k as n, n as l, u as T, e as _, h as f, f as g } from "./index-BDoYsAYw.mjs";
2
2
  import "@vueuse/core";
3
3
  export {
4
4
  i as ArticleCompareEditor,