@toast-ui/editor
Advanced tools
Comparing version 2.3.1 to 2.4.0
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -5,0 +5,0 @@ * @license MIT |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -5,0 +5,0 @@ * @license MIT |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -5,0 +5,0 @@ * @license MIT |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -5,0 +5,0 @@ * @license MIT |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -5,0 +5,0 @@ * @license MIT |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -5,0 +5,0 @@ * @license MIT |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -5,0 +5,0 @@ * @license MIT |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -100,3 +100,3 @@ * @license MIT | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 8); | ||
/******/ return __webpack_require__(__webpack_require__.s = 9); | ||
/******/ }) | ||
@@ -113,3 +113,3 @@ /************************************************************************/ | ||
/***/ 8: | ||
/***/ 9: | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
@@ -116,0 +116,0 @@ |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -100,3 +100,3 @@ * @license MIT | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 9); | ||
/******/ return __webpack_require__(__webpack_require__.s = 10); | ||
/******/ }) | ||
@@ -113,3 +113,3 @@ /************************************************************************/ | ||
/***/ 9: | ||
/***/ 10: | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
@@ -116,0 +116,0 @@ |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -100,3 +100,3 @@ * @license MIT | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 10); | ||
/******/ return __webpack_require__(__webpack_require__.s = 11); | ||
/******/ }) | ||
@@ -113,3 +113,3 @@ /************************************************************************/ | ||
/***/ 10: | ||
/***/ 11: | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
@@ -116,0 +116,0 @@ |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -100,3 +100,3 @@ * @license MIT | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 11); | ||
/******/ return __webpack_require__(__webpack_require__.s = 12); | ||
/******/ }) | ||
@@ -113,3 +113,3 @@ /************************************************************************/ | ||
/***/ 11: | ||
/***/ 12: | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
@@ -116,0 +116,0 @@ |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -100,3 +100,3 @@ * @license MIT | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 12); | ||
/******/ return __webpack_require__(__webpack_require__.s = 13); | ||
/******/ }) | ||
@@ -113,3 +113,3 @@ /************************************************************************/ | ||
/***/ 12: | ||
/***/ 13: | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
@@ -116,0 +116,0 @@ |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -100,3 +100,3 @@ * @license MIT | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 13); | ||
/******/ return __webpack_require__(__webpack_require__.s = 14); | ||
/******/ }) | ||
@@ -113,3 +113,3 @@ /************************************************************************/ | ||
/***/ 13: | ||
/***/ 14: | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
@@ -116,0 +116,0 @@ |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -100,3 +100,3 @@ * @license MIT | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 14); | ||
/******/ return __webpack_require__(__webpack_require__.s = 15); | ||
/******/ }) | ||
@@ -113,3 +113,3 @@ /************************************************************************/ | ||
/***/ 14: | ||
/***/ 15: | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
@@ -116,0 +116,0 @@ |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -100,3 +100,3 @@ * @license MIT | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 15); | ||
/******/ return __webpack_require__(__webpack_require__.s = 16); | ||
/******/ }) | ||
@@ -113,3 +113,3 @@ /************************************************************************/ | ||
/***/ 15: | ||
/***/ 16: | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
@@ -116,0 +116,0 @@ |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -100,3 +100,3 @@ * @license MIT | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 16); | ||
/******/ return __webpack_require__(__webpack_require__.s = 17); | ||
/******/ }) | ||
@@ -113,3 +113,3 @@ /************************************************************************/ | ||
/***/ 16: | ||
/***/ 17: | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
@@ -116,0 +116,0 @@ |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -100,3 +100,3 @@ * @license MIT | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 17); | ||
/******/ return __webpack_require__(__webpack_require__.s = 18); | ||
/******/ }) | ||
@@ -113,3 +113,3 @@ /************************************************************************/ | ||
/***/ 17: | ||
/***/ 18: | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
@@ -116,0 +116,0 @@ |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -100,3 +100,3 @@ * @license MIT | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 18); | ||
/******/ return __webpack_require__(__webpack_require__.s = 19); | ||
/******/ }) | ||
@@ -113,3 +113,3 @@ /************************************************************************/ | ||
/***/ 18: | ||
/***/ 19: | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
@@ -116,0 +116,0 @@ |
/*! | ||
* TOAST UI Editor : i18n | ||
* @version 2.3.1 | ||
* @version 2.4.0 | ||
* @author NHN FE Development Lab <dl_javascript@nhn.com> | ||
@@ -100,3 +100,3 @@ * @license MIT | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 19); | ||
/******/ return __webpack_require__(__webpack_require__.s = 20); | ||
/******/ }) | ||
@@ -113,3 +113,3 @@ /************************************************************************/ | ||
/***/ 19: | ||
/***/ 20: | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
@@ -116,0 +116,0 @@ |
@@ -1,2 +0,2 @@ | ||
// Type definitions for TOAST UI Editor v2.3.1 | ||
// Type definitions for TOAST UI Editor v2.4.0 | ||
// TypeScript Version: 3.2.2 | ||
@@ -136,2 +136,3 @@ | ||
convertors?: CustomHTMLRendererMap; | ||
customProp: Record<string, any>; | ||
} | ||
@@ -148,3 +149,6 @@ | ||
export type CustomHTMLRenderer = (node: MdNode, context: Context) => HTMLToken | HTMLToken[] | null; | ||
export type CustomHTMLRenderer = ( | ||
node: MdNode, | ||
context: Context | ||
) => HTMLToken | HTMLToken[] | null; | ||
@@ -213,2 +217,11 @@ type CustomHTMLRendererMap = Partial<Record<NodeType, CustomHTMLRenderer>>; | ||
type CustomParser = (node: MdNode, context: { entering: boolean }) => void; | ||
type CustomParserMap = Partial<Record<NodeType, CustomParser>>; | ||
interface PluginInfo { | ||
pluginFn: Plugin; | ||
renderer: CustomHTMLRendererMap; | ||
parser: CustomParserMap; | ||
} | ||
export interface Convertor { | ||
@@ -247,3 +260,3 @@ initHtmlSanitizer(sanitizer: Sanitizer): void; | ||
hideModeSwitch?: boolean; | ||
plugins?: Plugin[]; | ||
plugins?: (Plugin | PluginInfo)[]; | ||
extendedAutolinks?: ExtendedAutolinks; | ||
@@ -257,2 +270,3 @@ customConvertor?: ConvertorClass; | ||
previewHighlight?: boolean; | ||
frontMatter?: boolean; | ||
} | ||
@@ -273,2 +287,3 @@ | ||
customHTMLSanitizer?: CustomHTMLSanitizer; | ||
frontMatter?: boolean | ||
} | ||
@@ -275,0 +290,0 @@ |
{ | ||
"name": "@toast-ui/editor", | ||
"version": "2.3.1", | ||
"version": "2.4.0", | ||
"description": "GFM Markdown Wysiwyg Editor - Productive and Extensible", | ||
@@ -64,2 +64,3 @@ "keywords": [ | ||
"babel-plugin-istanbul": "^6.0.0", | ||
"common-tags": "^1.8.0", | ||
"cross-env": "^6.0.3", | ||
@@ -66,0 +67,0 @@ "css-loader": "^3.4.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1730273
47
30
39957