Sha256: 737a831c0573e05af37cf94c3bfb279a916fd39c2399b30df40976240811cdc0

Contents?: true

Size: 1.52 KB

Versions: 27

Compression:

Stored size: 1.52 KB

Contents

<html>
  <head>
    <!-- include libraries(jQuery, bootstrap) -->
    <link href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>

    <!-- include codemirror (codemirror.css, codemirror.js, xml.js, formatting.js) -->
    <link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/codemirror/3.20.0/codemirror.css">
    <link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/codemirror/3.20.0/theme/monokai.css">
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/codemirror/3.20.0/codemirror.js"></script>
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/codemirror/3.20.0/mode/xml/xml.js"></script>
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/codemirror/2.36.0/formatting.js"></script>

    <!-- include summernote css/js-->
    <link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote.min.css">
    <script type="text/javascript" src="//cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote.min.js"></script>
  </head>
  <body>

    <textarea class='tinymce'>
    </textarea>

  <script>
    $('.tinymce').summernote({
    height: 150,   //set editable area's height
    codemirror: { // codemirror options
      theme: 'monokai'
    }
  });
  </script>
  </body></html>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
wco_models-3.1.0.116 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.115 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.114 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.113 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.112 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.111 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.110 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.109 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.108 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.107 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.106 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.105 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.104 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.103 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.102 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.101 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.100 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.99 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.98 app/views/wco/application/tinymce.html.erb
wco_models-3.1.0.97 app/views/wco/application/tinymce.html.erb