Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
jquery.dirtyforms.helpers.ckeditor
Advanced tools
A helper to enable CKEditor support when using JQuery Dirty Forms.
This is a helper module for the jQuery Dirty Forms project.
This helper causes Dirty Forms to read and/or update the dirty status from CKEditor instances on the form. This will ensure that when a user edits a CKEditor field, Dirty Forms will be notified of the event in order to mark the form dirty.
Prerequesites must be included in this order:
If you are using a Package Manager, these dependencies will be installed automatically, but depending on your environment you may still need to add references to them manually.
There are several different ways to get the code. Some examples below:
The CKEditor helper is available over jsDelivr CDN and can directly be included on every page.
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery.dirtyforms/2.0.0/jquery.dirtyforms.helpers.ckeditor.min.js"></script>
jsDelivr also supports on-the-fly concatenation of files, so you can reference only 1 URL to get jQuery, ckeditor, jquery.dirtyforms, and jquery.dirtyforms.helpers.ckeditor in one request.
<script type="text/javascript" src="//cdn.jsdelivr.net/g/jquery@1.11.3,ckeditor(ckeditor.js),jquery.dirtyforms@2.0.0(jquery.dirtyforms.min.js+jquery.dirtyforms.helpers.ckeditor.min.js)"></script>
Download and save one of two available files to include the CKEditor helper to your page, either the latest distribution or the latest minified version.
<script type="text/javascript" src="jquery.dirtyforms.helpers.ckeditor.min.js"></script>
You can also conveniently get all of the latest Dirty Forms files in one Zip Download.
The CKEditor helper is even available through NPM, Bower, and NuGet. Just use one of the following commands below to install the helper, including all dependencies.
// NPM
$ npm install jquery.dirtyforms.helpers.ckeditor
// Bower
$ bower install jquery.dirtyforms.helpers.ckeditor
// NuGet
PM> Install-Package jquery.dirtyforms.helpers.ckeditor
A SourceMap file is also available via CDN or your favorite package manager.
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery.dirtyforms/2.0.0/jquery.dirtyforms.helpers.ckeditor.min.js.map"></script>
NPM, Bower, and NuGet will install the SourceMap file into the destination directory.
jquery.dirtyforms.helpers.ckeditor.min.js.map
This helper is completely automatic - there are no properties or methods to interact with. Simply include the reference to the helper after the prerequisites and use Dirty Forms as per the documentation and CKEditor as per the documetation.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js" type="text/javascript"></script>
<script src="//cdn.jsdelivr.net/ckeditor/latest/ckeditor.min.js" type="text/javascript"></script>
<script src="//cdn.jsdelivr.net/jquery.dirtyforms/2.0.0/jquery.dirtyforms.min.js" type="text/javascript"></script>
<script src="//cdn.jsdelivr.net/jquery.dirtyforms/2.0.0/jquery.dirtyforms.helpers.ckeditor.min.js" type="text/javascript"></script>
If not using a CDN, you need to apply the dependencies in the same order as in the example above.
For help or to report a bug please open an issue at the Dirty Forms development site.
FAQs
A helper to enable CKEditor support when using JQuery Dirty Forms.
The npm package jquery.dirtyforms.helpers.ckeditor receives a total of 4 weekly downloads. As such, jquery.dirtyforms.helpers.ckeditor popularity was classified as not popular.
We found that jquery.dirtyforms.helpers.ckeditor 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.