Skip to content

shinigami35/ckeditor-angularjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Directive AngularJs with CKEditor

Bower

You can install it with Bower, just run this command :

bower install ckeditor-angularjs --save

##How to use it

Put this in your html file :

<textarea ckeditor="option" ng-model="your name model"></textarea>

You have to add this line too :

<script src="../bower_components/jquery/jquery.min.js"></script>
<script src="../bower_components/angular/angular.js"></script>
<script src="../bower_components/ckeditor/ckeditor.js"></script>
<script src="../src/ckeditor-angularjs.js"></script>

##Option CKEditor

You can set the options of CKeditor (here in $scope.option). Please refer you to the CKeditor Website for the option.

/** Dependency (name of the directive) */
var app = angular.module('app', ['ngCke']);

/** Option CKEditor */
$scope.option = {
    language: 'fr'
};

About

Module AngularJs Ckeditor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published