acrolinx-sidebar-sdk
Advanced tools
Comparing version 0.4.15 to 0.4.16
@@ -22,2 +22,7 @@ import { CheckInformationKeyValuePair, InitParameters, InitResult, SidebarConfiguration, CheckResult } from './acrolinx-libs/plugin-interfaces'; | ||
acrolinxStorage?: AcrolinxSimpleStorage; | ||
/** | ||
* This optional function will be called after a successful check, | ||
* if Embed Check Data is enabled on the Acrolinx core server. | ||
* It’s the task of the integration to save the data in a suitable place. | ||
*/ | ||
onEmbedCheckData?: (checkData: CheckInformationKeyValuePair[], format: string) => void; | ||
@@ -24,0 +29,0 @@ onInitFinished?: (initFinishedResult: InitResult) => void; |
@@ -14,2 +14,3 @@ "use strict"; | ||
var utils = require("./utils"); | ||
var acrolinx_sidebar_startpage_1 = require("acrolinx-sidebar-startpage"); | ||
exports.SIDEBAR_URL = 'https://sidebar-classic.acrolinx-cloud.com/v14/prod/'; | ||
@@ -107,4 +108,4 @@ var SidebarURLInvalidError = /** @class */ (function (_super) { | ||
function loadSidebarIntoIFrame(config, sidebarIFrameElement, onSidebarLoaded) { | ||
if (config.sidebarHtml) { | ||
injectSidebarHtml(config.sidebarHtml, sidebarIFrameElement); | ||
if (config.sidebarHtml || !config.sidebarUrl) { | ||
injectSidebarHtml(config.sidebarHtml || acrolinx_sidebar_startpage_1.ACROLINX_STARTPAGE_INLINED_HTML, sidebarIFrameElement); | ||
onSidebarLoaded(); | ||
@@ -111,0 +112,0 @@ return; |
{ | ||
"name": "acrolinx-sidebar-sdk", | ||
"description": "Acrolinx Sidebar SDK for JavaScript", | ||
"version": "0.4.15", | ||
"version": "0.4.16", | ||
"license": "Apache-2.0", | ||
@@ -22,2 +22,3 @@ "author": "Acrolinx", | ||
"@types/tinymce": "^4.5.16", | ||
"acrolinx-sidebar-startpage": "^2.0.1", | ||
"diff-match-patch": "1.0.0", | ||
@@ -24,0 +25,0 @@ "es6-promise": "^4.0.5", |
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 too big to display
Sorry, the diff of this file is too big to display
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
3887959
58678
2
8
+ Addedacrolinx-sidebar-startpage@2.0.7(transitive)