@toast-ui/editor 2.5.0 → 2.5.4
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/i18n/ar.js +1 -1
- package/dist/i18n/cs-cz.js +1 -1
- package/dist/i18n/de-de.js +1 -1
- package/dist/i18n/es-es.js +1 -1
- package/dist/i18n/fi-fi.js +1 -1
- package/dist/i18n/fr-fr.js +1 -1
- package/dist/i18n/gl-es.js +1 -1
- package/dist/i18n/hr-hr.js +1 -1
- package/dist/i18n/it-it.js +1 -1
- package/dist/i18n/ja-jp.js +1 -1
- package/dist/i18n/ko-kr.js +1 -1
- package/dist/i18n/nb-no.js +1 -1
- package/dist/i18n/nl-nl.js +1 -1
- package/dist/i18n/pl-pl.js +1 -1
- package/dist/i18n/pt-br.js +1 -1
- package/dist/i18n/ru-ru.js +1 -1
- package/dist/i18n/sv-se.js +1 -1
- package/dist/i18n/tr-tr.js +1 -1
- package/dist/i18n/uk-ua.js +1 -1
- package/dist/i18n/zh-cn.js +1 -1
- package/dist/i18n/zh-tw.js +1 -1
- package/dist/toastui-editor-old.css +1 -1
- package/dist/toastui-editor-only.css +1 -1
- package/dist/toastui-editor-viewer-old.css +1 -1
- package/dist/toastui-editor-viewer.css +6 -1
- package/dist/toastui-editor-viewer.js +136 -132
- package/dist/toastui-editor.css +6 -1
- package/dist/toastui-editor.js +233 -195
- package/index.d.ts +7 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for TOAST UI Editor v2.5.
|
|
1
|
+
// Type definitions for TOAST UI Editor v2.5.4
|
|
2
2
|
// TypeScript Version: 3.2.2
|
|
3
3
|
|
|
4
4
|
/// <reference types="codemirror" />
|
|
@@ -150,7 +150,7 @@ declare namespace toastui {
|
|
|
150
150
|
context: Context
|
|
151
151
|
) => HTMLToken | HTMLToken[] | null;
|
|
152
152
|
|
|
153
|
-
type CustomHTMLRendererMap = Partial<Record<NodeType, CustomHTMLRenderer>>;
|
|
153
|
+
export type CustomHTMLRendererMap = Partial<Record<NodeType, CustomHTMLRenderer>>;
|
|
154
154
|
// Toastmark custom renderer type end
|
|
155
155
|
interface SelectionRange {
|
|
156
156
|
from: {
|
|
@@ -259,7 +259,7 @@ declare namespace toastui {
|
|
|
259
259
|
customConvertor?: ConvertorClass;
|
|
260
260
|
placeholder?: string;
|
|
261
261
|
linkAttribute?: LinkAttribute;
|
|
262
|
-
customHTMLRenderer?:
|
|
262
|
+
customHTMLRenderer?: CustomHTMLRendererMap;
|
|
263
263
|
referenceDefinition?: boolean;
|
|
264
264
|
customHTMLSanitizer?: CustomHTMLSanitizer;
|
|
265
265
|
previewHighlight?: boolean;
|
|
@@ -279,7 +279,7 @@ declare namespace toastui {
|
|
|
279
279
|
customHTMLRenderer?: CustomHTMLRenderer;
|
|
280
280
|
referenceDefinition?: boolean;
|
|
281
281
|
customHTMLSanitizer?: CustomHTMLSanitizer;
|
|
282
|
-
frontMatter?: boolean
|
|
282
|
+
frontMatter?: boolean;
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
interface MarkdownEditorOptions {
|
|
@@ -853,6 +853,9 @@ declare namespace toastui {
|
|
|
853
853
|
}
|
|
854
854
|
|
|
855
855
|
declare module '@toast-ui/editor' {
|
|
856
|
+
export type SourceType = toastui.SourceType;
|
|
857
|
+
export type MarkdownToolbarState = toastui.MarkdownToolbarState;
|
|
858
|
+
export type WysiwygToolbarState = toastui.WysiwygToolbarState;
|
|
856
859
|
export type EditorOptions = toastui.EditorOptions;
|
|
857
860
|
export type CustomConvertor = toastui.ConvertorClass;
|
|
858
861
|
export type EventMap = toastui.EventMap;
|