From 1ec8d7dbefa5063157ed408cc23d9c53ae3220a6 2017-06-20 03:54:06 From: darkmorford Date: 2017-06-20 03:54:06 Subject: [PATCH] Merge pull request #9 from mt-admin spoiler-style Static-page spoilers and resizing. --- diff --git a/edit-page.php b/edit-page.php index 7e54768..d191852 100644 --- a/edit-page.php +++ b/edit-page.php @@ -69,7 +69,7 @@ tinyMCE.init({ mode : "exact", elements: "content", theme : "advanced", - theme_advanced_buttons1 : "bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,bullist,numlist,undo,redo,link,unlink,code,formatselect", + theme_advanced_buttons1 : "bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,bullist,numlist,undo,redo,link,unlink,code,formatselect,styleselect", theme_advanced_buttons2 : "", theme_advanced_buttons3 : "", theme_advanced_toolbar_location : "top", @@ -77,7 +77,10 @@ tinyMCE.init({ theme_advanced_path_location : "bottom", extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]," + "hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style],iframe[frameborder|height|src|width|scrolling|allowfullscreen]", - theme_advanced_blockformats : "p,h3,h4,h5,h6" + theme_advanced_blockformats : "p,h3,h4,h5,h6", + theme_advanced_resizing : true, + theme_advanced_styles : "Spoiler=spoiler" + });