Socket
Socket
Sign inDemoInstall

fng-ckeditor

Package Overview
Dependencies
0
Maintainers
1
Versions
244
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fng-ckeditor

CKEditor Plugin


Version published
Weekly downloads
87
increased by61.11%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

fng-ckeditor

Documentation for getting a WYSIWYG field in forms-angular

CKEditor Version 5

Usage

For default Classic build

Add the following lines to your index.html (or equivalent) file

<script src="//cdn.ckeditor.com/ckeditor5/xx.xx.xx/classic/ckeditor.js"></script>

In your Mongoose schemas you can set up fields like this:

fieldName: {type: String, form: {type: 'textarea', add: 'ckeditor5'}}

Register the directive:

angular.module('myApp',['fng.ckeditor'])
For fng custom build

Add the following lines to your index.html (or equivalent) file

<script src="fng-ckeditor/v5-custom/build/ckeditor.js"></script>

In your Mongoose schemas you can set up fields like this:

fieldName: {type: String, form: {type: 'textarea', add: 'ckeditor5 custom'}}

Register the directive:

angular.module('myApp',['fng.ckeditor'])

CKEditor Version 4

Usage

npm install github:esvit/ng-ckeditor

Add the following lines to your index.html (or equivalent) file

<script src="//cdn.ckeditor.com/4.9.1/standard/ckeditor.js"></script>
<script src="ng-ckeditor/ng-ckeditor.js"></script>

In your Mongoose schemas you can set up fields like this:

fieldName: {type: String, form: {type: 'textarea', add: 'ckEditor'}}

Keywords

FAQs

Last updated on 26 Apr 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc