Sha256: e689c91a9214a98ec1559eed4f1a3d5c37836701237dc475b47b12bb3125badf

Contents?: true

Size: 752 Bytes

Versions: 1

Compression:

Stored size: 752 Bytes

Contents

<script type="text/javascript">
  $('quicktags').style.display = 'none';
  $('simple_editor').style.display = 'none';
  $('visual_editor').style.display = 'block';
  $('s').className = 'inactive';
  $('f').className = 'active';
  $('text_filter').value = 'none';
  html = $('page_body').value;  
  $('simple_editor').innerHTML = '';
  $('carousel-wrapper').style.display = 'none';
  
  if (CKEDITOR.instances.page__body_editor &&
    typeof(CKEDITOR.instances.page__body_editor) == 'object') {
      delete(CKEDITOR.instances.page__body_editor);
    }
    
</script>
<%= ckeditor_textarea('page', 'body', {:height => '300', :class => 'large'}) %>
<script type="text/javascript">
  content = CKEDITOR.instances.page__body_editor.setData(html);
</script>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
typo-5.5 app/views/admin/pages/_visual_editor.html.erb