Sha256: 867a29a080adbaff9728b2222564a1a21f9bb719201b75909b1e7b47fb796e9d

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>Sinatra Example app</title>
    <script type="text/javascript" src="/javascripts/tiny_mce/tiny_mce.js"></script>
    <script type="text/javascript" charset="utf-8">
      // Initialize TinyMCE with rmce_uploadr plugin and inlinepopups
      tinyMCE.init({
          plugins: "rmce_uploadr,inlinepopups",
          mode : "textareas",
          theme : "advanced",
          dialog_type: 'modal',
          theme_advanced_buttons1 : "bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,bullist,numlist,undo,redo,link,unlink,image",
          theme_advanced_buttons2 : "",
          theme_advanced_buttons3 : "",
          theme_advanced_toolbar_location : "top",
          theme_advanced_toolbar_align : "left",
          theme_advanced_statusbar_location : "bottom"
      });
    </script>
  </head>
  
  <body>
    <%= yield %>
  </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rmce_uploadr-0.0.3 examples/sinatra/views/layout.erb
rmce_uploadr-0.0.2 examples/sinatra/views/layout.erb