Sha256: d4ca01dae845888b88e07b100eefc35461c27ff484a3375b773dcb37c482717f

Contents?: true

Size: 1.29 KB

Versions: 205

Compression:

Stored size: 1.29 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>

  <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">
    <div id="sn"></div>
  </div>
</div>


<script>
  $(document).ready(function() {
    $('#sn').summernote({
      callbacks: {
        onChange: function(contents, $editable) {
          console.log('onChange:', contents, $editable);
        }
      }
    });
  });
</script>
</body>
</html>

Version data entries

205 entries across 205 versions & 1 rubygems

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