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

Version Path
promethee-5.1.1 node_modules/angular-summernote/examples/index2.html
promethee-5.1.0 node_modules/angular-summernote/examples/index2.html
promethee-5.0.2 node_modules/angular-summernote/examples/index2.html
promethee-5.0.1 node_modules/angular-summernote/examples/index2.html
promethee-5.0.0 node_modules/angular-summernote/examples/index2.html
promethee-4.1.28 node_modules/angular-summernote/examples/index2.html
promethee-4.1.27 node_modules/angular-summernote/examples/index2.html
promethee-4.1.26 node_modules/angular-summernote/examples/index2.html
promethee-4.1.25 node_modules/angular-summernote/examples/index2.html
promethee-4.1.24 node_modules/angular-summernote/examples/index2.html
promethee-4.1.23 node_modules/angular-summernote/examples/index2.html
promethee-4.1.22 node_modules/angular-summernote/examples/index2.html
promethee-4.1.21 node_modules/angular-summernote/examples/index2.html
promethee-4.1.20 node_modules/angular-summernote/examples/index2.html
promethee-4.1.19 node_modules/angular-summernote/examples/index2.html
promethee-4.1.18 node_modules/angular-summernote/examples/index2.html
promethee-4.1.17 node_modules/angular-summernote/examples/index2.html
promethee-4.1.16 node_modules/angular-summernote/examples/index2.html
promethee-4.1.15 node_modules/angular-summernote/examples/index2.html
promethee-4.1.14 node_modules/angular-summernote/examples/index2.html