@ones-editor/editor 2.2.15-beta.4 → 2.2.16-beta.2

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/types.d.ts CHANGED
@@ -10,7 +10,7 @@ import { FileOptions } from '../@ones-editor/file';
10
10
  import { ListOptions } from '../@ones-editor/list-block';
11
11
  import { QuickMenuOptions } from '../@ones-editor/ui';
12
12
  import { TemplateOptions } from '../@ones-editor/templates';
13
- import { FindDialogOptions, PopoverOptions, OnesEditorEmojiPaletteOptions } from '../@ones-editor/ui-base';
13
+ import { FindDialogOptions, PopoverOptions } from '../@ones-editor/ui-base';
14
14
  import { CodeBlockExternalOptions } from '../@ones-editor/code-block';
15
15
  import { MentionOptions } from '../@ones-editor/mention';
16
16
  import { MathjaxOptions } from '../@ones-editor/mathjax';
@@ -43,7 +43,6 @@ export type EditorComponentOptions = {
43
43
  link?: LinkOptions;
44
44
  columns?: EditorConfigLayoutOptions;
45
45
  mobile?: MobileClient;
46
- emojiPalette?: OnesEditorEmojiPaletteOptions;
47
46
  };
48
47
  export type EditorEvents = {
49
48
  onClickLink?: (editor: OnesEditor, event: MouseEvent, link: Element) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.2.15-beta.4",
3
+ "version": "2.2.16-beta.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,14 +0,0 @@
1
- import { OnesEditor, OnesEditorCustom } from '../../../../@ones-editor/core';
2
- export declare class CalloutIcon implements OnesEditorCustom {
3
- private editor;
4
- private blockId;
5
- private iconElement;
6
- private emojiPopup;
7
- private constructor();
8
- private handleSelectEmoji;
9
- private handleIconClick;
10
- render(parent: HTMLElement, icon: string): void;
11
- updateIcon(icon: string): void;
12
- destroy(): void;
13
- static get(editor: OnesEditor, blockId: string): CalloutIcon;
14
- }
@@ -1,3 +0,0 @@
1
- import './index.scss';
2
- import { EmojiPaletteOptions } from './types';
3
- export declare function defaultPaletteRenderer(parent: HTMLDivElement, options: EmojiPaletteOptions): () => void;