Sha256: 522e0426a0e2ec90e3ba0423cede94780725cb1a6f79cda6b2d02039ffe1f2eb
Contents?: true
Size: 1.5 KB
Versions: 205
Compression:
Stored size: 1.5 KB
Contents
<!DOCTYPE html> <html lang="en" ng-app="summernoteDemo"> <head> <title>Angular-summernote Demo</title> <!--summernote dependencies--> <script src="components/jquery/dist/jquery.min.js"></script> <link rel="stylesheet" href="components/bootstrap/dist/css/bootstrap.min.css"> <script src="components/bootstrap/dist/js/bootstrap.min.js"></script> <link rel="stylesheet" href="components/font-awesome/css/font-awesome.min.css"> <!--summernote--> <link rel="stylesheet" href="components/summernote/dist/summernote.css" /> <script src="components/summernote/dist/summernote.js"></script> <script src="components/summernote/lang/summernote-de-DE.js"></script> <!--angular-summernote dependencies --> <script src="components/angular/angular.min.js"></script> <script src="../src/angular-summernote.js"></script> <style> body { margin: 10px 20px; } h2, h4, h5, h6 { background-color: #eee; padding: 10px; } h4 { margin-left: 20px; } .example { margin-left: 40px; } </style> </head> <body> <div ng-controller="CodeCtrl"> <h4>use ngModel to synchronize the value</h4> <div class="example"> <summernote ng-model="text"></summernote> <br> <textarea type="text" ng-model="text" style="width:100%;"></textarea></br> text : {{text}} </div> </div> <script> angular.module('summernoteDemo', ['summernote']) .controller('CodeCtrl', function($scope) { $scope.text = "Hello World"; }); </script> </body> </html>
Version data entries
205 entries across 205 versions & 1 rubygems