Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Convert URLs and add inline popups.

  • Loading branch information...
commit 94eabe08201e3d941808043d51a618fe4f3dccce 1 parent e647d85
@jimsafley jimsafley authored
Showing with 7 additions and 2 deletions.
  1. +7 −2 views/admin/index/form.php
View
9 views/admin/index/form.php
@@ -6,13 +6,18 @@
// Assign TinyMCE a textarea:
mode : 'exact',
elements: '<?php if (simple_page('use_tiny_mce')) echo 'simple-pages-text'; ?>',
+ // Add plugins:
+ plugins: 'media,paste,inlinepopups',
// Configure theme:
theme: 'advanced',
theme_advanced_toolbar_location: 'top',
theme_advanced_toolbar_align: 'left',
- // Allow object embed (see http://www.tinymce.com/forum/viewtopic.php?id=24539):
- plugins: 'media',
+ theme_advanced_buttons3_add : 'pastetext,pasteword,selectall',
+ // Allow object embed. Used by media plugin
+ // See http://www.tinymce.com/forum/viewtopic.php?id=24539
media_strict: false,
+ // General configuration:
+ convert_urls: false,
});
// Add or remove TinyMCE control.
jQuery('#simple-pages-use-tiny-mce').click(function() {
Please sign in to comment.
Something went wrong with that request. Please try again.