@kungal/editor-core 0.5.0 → 0.7.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @kungal/editor-core
2
2
 
3
+ ## 0.7.0
4
+
5
+ ## 0.6.0
6
+
3
7
  ## 0.5.0
4
8
 
5
9
  ## 0.4.0
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { K as KunEditorAdapters, a as KunEditorFeatures, b as KunEditorLocale, M as MentionUser, N as Notify, c as NotifyLevel, S as SearchMentionUsers, d as StickerItem, e as StickerPack, f as StickerSource, U as UploadImage } from './types-B_iVOftJ.cjs';
1
+ export { K as KunEditorAdapters, a as KunEditorFeatures, b as KunEditorLocale, M as MentionUser, N as Notify, c as NotifyLevel, S as SearchMentionUsers, d as StickerItem, e as StickerPack, f as StickerSource, U as UploadImage } from './types-BXLT8DV7.cjs';
2
2
 
3
3
  declare const MENTION_SCHEME = "kungal-user:";
4
4
  declare const QUOTE_SCHEME = "kungal-reply:";
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { K as KunEditorAdapters, a as KunEditorFeatures, b as KunEditorLocale, M as MentionUser, N as Notify, c as NotifyLevel, S as SearchMentionUsers, d as StickerItem, e as StickerPack, f as StickerSource, U as UploadImage } from './types-B_iVOftJ.js';
1
+ export { K as KunEditorAdapters, a as KunEditorFeatures, b as KunEditorLocale, M as MentionUser, N as Notify, c as NotifyLevel, S as SearchMentionUsers, d as StickerItem, e as StickerPack, f as StickerSource, U as UploadImage } from './types-BXLT8DV7.js';
2
2
 
3
3
  declare const MENTION_SCHEME = "kungal-user:";
4
4
  declare const QUOTE_SCHEME = "kungal-reply:";
@@ -1,6 +1,6 @@
1
1
  import { MilkdownPlugin, Ctx } from '@milkdown/kit/ctx';
2
2
  import { KatexOptions } from 'katex';
3
- import { b as KunEditorLocale, N as Notify, U as UploadImage, K as KunEditorAdapters, a as KunEditorFeatures } from '../types-B_iVOftJ.cjs';
3
+ import { b as KunEditorLocale, N as Notify, U as UploadImage, K as KunEditorAdapters, a as KunEditorFeatures } from '../types-BXLT8DV7.cjs';
4
4
  import * as _milkdown_kit_utils from '@milkdown/kit/utils';
5
5
  import { Extension } from '@codemirror/state';
6
6
  import { Uploader } from '@milkdown/kit/plugin/upload';
@@ -1,6 +1,6 @@
1
1
  import { MilkdownPlugin, Ctx } from '@milkdown/kit/ctx';
2
2
  import { KatexOptions } from 'katex';
3
- import { b as KunEditorLocale, N as Notify, U as UploadImage, K as KunEditorAdapters, a as KunEditorFeatures } from '../types-B_iVOftJ.js';
3
+ import { b as KunEditorLocale, N as Notify, U as UploadImage, K as KunEditorAdapters, a as KunEditorFeatures } from '../types-BXLT8DV7.js';
4
4
  import * as _milkdown_kit_utils from '@milkdown/kit/utils';
5
5
  import { Extension } from '@codemirror/state';
6
6
  import { Uploader } from '@milkdown/kit/plugin/upload';
@@ -80,7 +80,11 @@ interface KunEditorFeatures {
80
80
  katex?: boolean;
81
81
  /** Fenced code blocks with CodeMirror. Requires the codemirror peers. Default: true. */
82
82
  codeBlock?: boolean;
83
- /** Sticker/emoji picker. Requires `stickerSource`. Default: on when adapter present. */
83
+ /**
84
+ * The sticker/emoji picker. Emoji is built into the render layer (plain
85
+ * unicode, no adapter); the sticker tab additionally needs `stickerSource`.
86
+ * Set false to drop the picker entirely. Default: true.
87
+ */
84
88
  sticker?: boolean;
85
89
  }
86
90
 
@@ -80,7 +80,11 @@ interface KunEditorFeatures {
80
80
  katex?: boolean;
81
81
  /** Fenced code blocks with CodeMirror. Requires the codemirror peers. Default: true. */
82
82
  codeBlock?: boolean;
83
- /** Sticker/emoji picker. Requires `stickerSource`. Default: on when adapter present. */
83
+ /**
84
+ * The sticker/emoji picker. Emoji is built into the render layer (plain
85
+ * unicode, no adapter); the sticker tab additionally needs `stickerSource`.
86
+ * Set false to drop the picker entirely. Default: true.
87
+ */
84
88
  sticker?: boolean;
85
89
  }
86
90
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kungal/editor-core",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "KunEditor framework-agnostic core — the Milkdown plugin bundle (spoiler / mention / quote / katex / upload / code-block) plus the adapter contracts. No Vue/React.",
5
5
  "type": "module",
6
6
  "keywords": [