{"id":2966518,"date":"2012-08-14T11:21:22","date_gmt":"2012-08-14T11:21:22","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-wp-super-edit-adding-extra-plugins\/"},"modified":"2016-08-20T14:56:48","modified_gmt":"2016-08-20T14:56:48","slug":"plugin-wp-super-edit-adding-extra-plugins","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-wp-super-edit-adding-extra-plugins\/","title":{"rendered":"[Plugin: WP Super Edit] Adding extra plugins"},"content":{"rendered":"<p>I have had a go at adding an extra plugin from the list of available TinyMCE plugins to WP Super Edit. In this case the simple horizontal rule (hr). It seems to work but I am interested to know if I have done it the right way as I can&#8217;t find any documentation on how to do it.<br \/>\nI added a line directly into the wp_super_edit_buttons table in the database:<br \/>\nname: hr<br \/>\nnicename: Horizontal Rule<br \/>\nprovider: wp_super_edit (though &#8220;wordpress&#8221; works as well)<br \/>\nstatus: yes<br \/>\nI did not upload any files.<br \/>\nThe drawback I suppose is that the new plugin would get wiped from the database on resetting and perhaps even on updating WP Super Edit?<br \/>\nI know you can easily add TinyMCE plugins to WordPress using the functions.php file in a theme but I want to use the role-based functionality of WP Super Edit which seems to set it apart from other, similar plugins.<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/wp-super-edit\/<\/p>\n","protected":false},"template":"","class_list":["post-2966518","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2966518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2966518\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2966518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}