From 253f1aec21ba3b4fceeec8f223c3daa44d314700 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Mon, 22 Aug 2005 12:39:39 +0000 Subject: [PATCH] Update WYSIWYG editors to properly work with (multiple) nuggets: * Staticpages, Plugin config, Entry body/Extended body (also requires 0.9 nightly update!) --- include/admin/plugins.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/admin/plugins.inc.php b/include/admin/plugins.inc.php index 1488a9c..3983044 100644 --- a/include/admin/plugins.inc.php +++ b/include/admin/plugins.inc.php @@ -509,6 +509,10 @@ if (isset($_GET['serendipity']['plugin_to_conf'])) { } if (isset($serendipity['wysiwyg']) && $serendipity['wysiwyg'] && count($htmlnugget) > 0) { + $ev = array('nuggets' => $htmlnugget, 'skip_nuggets' => false); + serendipity_plugin_api::hook_event('backend_wysiwyg_nuggets', $ev); + + if ($ev['skip_nuggets'] === false) { ?> -- 2.39.5