@toast-ui/editor-plugin-color-syntax
Advanced tools
Comparing version 3.0.3 to 3.1.0
/*! | ||
* TOAST UI Editor : Color Syntax Plugin | ||
* @version 3.0.3 | Thu Apr 14 2022 | ||
* @version 3.1.0 | Fri Aug 05 2022 | ||
* @author NHN Cloud FE Development Lab <dl_javascript@nhn.com> | ||
@@ -178,2 +178,10 @@ * @license MIT | ||
} | ||
function removeProseMirrorHackNodes(html) { | ||
var reProseMirrorImage = /<img class="ProseMirror-separator" alt="">/g; | ||
var reProseMirrorTrailingBreak = / class="ProseMirror-trailingBreak"/g; | ||
var resultHTML = html; | ||
resultHTML = resultHTML.replace(reProseMirrorImage, ''); | ||
resultHTML = resultHTML.replace(reProseMirrorTrailingBreak, ''); | ||
return resultHTML; | ||
} | ||
@@ -180,0 +188,0 @@ ;// CONCATENATED MODULE: ./src/index.ts |
{ | ||
"name": "@toast-ui/editor-plugin-color-syntax", | ||
"version": "3.0.3", | ||
"version": "3.1.0", | ||
"description": "TOAST UI Editor : Color Syntax Plugin", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
26596
442