Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
acrolinx-sidebar-sdk
Advanced tools
Library for integration of the Acrolinx sidebar into a web application. The library contains adapters to use in your web integration. These are ready to use for: Editable divs, input elements and rich text editors like CKEditor and TinyMCE.
See: Getting Started with Custom Integrations
https://github.com/acrolinx/acrolinx-sidebar-demo
npm i -S acrolinx-sidebar-sdk
Getting started with your own integration
The Acrolinx sidebar is designed to show up beside the window where you edit your content. You use it for checking, reviewing, and correcting your content. To get an impression what the sidebar looks like in other integration check the Acrolinx Support Center.
Please contact Acrolinx SDK support (sdk-support@acrolinx.com) for consulting and getting your integration certified. This sample works with a test license on an internal acrolinx server. This license is only meant for demonstration and developing purposes. Once you finished your integration you'll have to get a license for your integration from Acrolinx.
Please note that this an example for a integration into a web application only. Acrolinx offers different other SDKs for developing integrations.
Before you start developing your own integration, you might benefit from looking into the sidebar example.
The requirements to achieve this are:
All of the above are required by the Acrolinx Sidebar API and need to be provided by your integration. However Acrolinx provides some reference integrations with TinyMCE and CKEditor.
Let's take a look at how the sidebar is loaded and the typical interactions with an integration.
Load your host editor and your integration code.
Register your integration as an Acrolinx Plugin (Check the API Documentation for the Acrolinx Plugin Interface.) You'll find the API Documentation here.
var acrolinxPlugin = {...}
Once the sidebar has finished loading it will request the integration
to initialize by calling requestInit
.
The AcrolinxPlugin now must call init
.
Once the init process has finished, the plug-in will be notified onInitFinished
.
After initializing the sidebar will call configure
and push the latest
configuration to the plug-in.
You'll find the API Documentation here.
If the user pushes the button "Check" (in the Acrolinx sidebar), requestGlobalCheck
is called.
The acrolinxPlugin must call checkGlobal
to perform a check.
When the check finished, onCheckResult
is called and the sidebar displays cards for the issues.
selectRanges
on the plugin.replaceRanges
.These are the most important interactions between the Acrolinx sidebar and your integration. Please check the sidebar plugin API for more information.
Check our sidebar plugin API.
Copyright 2015-2016 Acrolinx GmbH
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
For more information visit: http://www.acrolinx.com
FAQs
Acrolinx Sidebar SDK for JavaScript
The npm package acrolinx-sidebar-sdk receives a total of 28 weekly downloads. As such, acrolinx-sidebar-sdk popularity was classified as not popular.
We found that acrolinx-sidebar-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.