Changeset 13561
- Timestamp:
- 04/18/2024 04:49:12 AM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-blocks.php
r13549 r13561 80 80 $settings['iso']['blocks']['allowBlocks'][] = 'core/embed'; 81 81 82 // Adds a table of contents button in the toolbar.83 $settings['toolbar']['toc'] = true;84 85 82 // Adds a navigation button in the toolbar. 86 $settings['toolbar']['navigation'] = true; 83 $settings['toolbar']['navigation'] = false; 84 85 // We don't need these on the forums. 86 $settings['unregisterFormatType'][] = 'core/keyboard'; 87 $settings['unregisterFormatType'][] = 'core/language'; 88 $settings['unregisterFormatType'][] = 'core/non-breaking-space'; 89 $settings['unregisterFormatType'][] = 'core/subscript'; 90 $settings['unregisterFormatType'][] = 'core/superscript'; 91 $settings['unregisterFormatType'][] = 'core/strikethrough'; 92 $settings['unregisterFormatType'][] = 'core/underline'; 93 94 // WP Calypso editor adds some too. 95 $settings['unregisterFormatType'][] = 'wpcom/justify'; 96 $settings['unregisterFormatType'][] = 'wpcom/underline'; 87 97 88 98 // This will display a support link in an ellipsis menu in the top right of the editor.
Note: See TracChangeset
for help on using the changeset viewer.