Changeset 3003951
- Timestamp:
- 11/30/2023 08:49:54 PM (8 months ago)
- Location:
- mrw-web-design-simple-tinymce
- Files:
-
- 8 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
mrw-web-design-simple-tinymce/tags/2.12.1/changelog.txt
r2988726 r3003951 1 2 3 1 4 = 2.12.0 (November 3, 2023) = 2 5 - WordPress 6.4 compatibility -
mrw-web-design-simple-tinymce/tags/2.12.1/js/block-editor.js
r2988726 r3003951 1 1 /* 2 * Hide Blocks 2 * Hide blocks from the inserter 3 * 4 * Unregistering them crashes the editor if they are present in existing content 3 5 */ 4 6 wp.hooks.addFilter( 'blocks.registerBlockType', 'hideBlocks', ( blockSettings, blockName ) => { … … 20 22 wp.blocks.getBlockVariations('core/embed').forEach(function (embed) { 21 23 22 if ( -1 !==mrwEditorOptions.hiddenEmbeds.indexOf(embed.name) ) {24 if ( -1 mrwEditorOptions.hiddenEmbeds.indexOf(embed.name) ) { 23 25 wp.blocks.unregisterBlockVariation('core/embed', embed.name ); 24 26 } … … 37 39 }); 38 40 39 /* Remove Inline Footnote insert edin block toolbar if Footnote block is hidden */40 if( mrwEditorOptions.hiddenBlocks.indexOf( 'core/footnotes' ) ) {41 /* Remove Inline Footnote insert in block toolbar if Footnote block is hidden */ 42 if( mrwEditorOptions.hiddenBlocks.indexOf( 'core/footnotes' ) ) { 41 43 wp.richText.unregisterFormatType( 'core/footnote' ); 42 44 } 43 if( mrwEditorOptions.hiddenSettings.indexOf('highlight' ) ) { 44 wp.richText.unregisterFormatType( 'core/text-color'); 45 46 /* Remove other inline formatting options */ 47 if( -1 < mrwEditorOptions.hiddenSettings.indexOf( 'highlight' ) ) { 48 wp.richText.unregisterFormatType( 'core/text-color' ); 45 49 } 46 if( mrwEditorOptions.hiddenSettings.indexOf('inline-image' ) ) { 50 51 if( -1 < mrwEditorOptions.hiddenSettings.indexOf( 'inline-image' ) ) { 47 52 wp.richText.unregisterFormatType( 'core/image' ); 48 53 } 49 if( mrwEditorOptions.hiddenSettings.indexOf('inline-code' ) ) { 54 55 if( -1 < mrwEditorOptions.hiddenSettings.indexOf( 'inline-code' ) ) { 50 56 wp.richText.unregisterFormatType( 'core/code' ); 51 57 } 52 if( mrwEditorOptions.hiddenSettings.indexOf('keyboard' ) ) { 58 59 if( -1 < mrwEditorOptions.hiddenSettings.indexOf( 'keyboard' ) ) { 53 60 wp.richText.unregisterFormatType( 'core/keyboard' ); 54 61 } -
mrw-web-design-simple-tinymce/tags/2.12.1/mrwweb-simple-tinymce.php
r2988726 r3003951 4 4 * Plugin URI: https://MRWweb.com/wordpress-plugins/mrw-web-design-simple-tinymce/ 5 5 * Description: Streamlines the WordPress editor to focus users on consistent formatting and semantic content. 6 * Version: 2.12. 06 * Version: 2.12. 7 7 * Author: Mark Root-Wiley 8 8 * Author URI: https://MRWweb.com -
mrw-web-design-simple-tinymce/tags/2.12.1/readme.txt
r2988726 r3003951 5 5 Requires PHP: 5.6.20 6 6 Tested up to: 6.4 7 Stable tag: 2.12. 07 Stable tag: 2.12. 8 8 Donate link: https://www.paypal.me/rootwiley 9 9 License: GPLv3 or later … … 78 78 79 79 == Changelog == 80 81 82 80 83 = 2.12.0 (November 3, 2023) = 81 84 - WordPress 6.4 compatibility … … 104 107 105 108 == Upgrade Notice == 106 = 2.12. 0=107 * WP 6.4 Compatibility + hide various inline formats and placeholder options109 = 2.12. = 110 * WP 6.4 Compatibility + hide various inline formats and placeholder options -
mrw-web-design-simple-tinymce/trunk/changelog.txt
r2988726 r3003951 1 2 3 1 4 = 2.12.0 (November 3, 2023) = 2 5 - WordPress 6.4 compatibility -
mrw-web-design-simple-tinymce/trunk/js/block-editor.js
r2988726 r3003951 1 1 /* 2 * Hide Blocks 2 * Hide blocks from the inserter 3 * 4 * Unregistering them crashes the editor if they are present in existing content 3 5 */ 4 6 wp.hooks.addFilter( 'blocks.registerBlockType', 'hideBlocks', ( blockSettings, blockName ) => { … … 20 22 wp.blocks.getBlockVariations('core/embed').forEach(function (embed) { 21 23 22 if ( -1 !==mrwEditorOptions.hiddenEmbeds.indexOf(embed.name) ) {24 if ( -1 mrwEditorOptions.hiddenEmbeds.indexOf(embed.name) ) { 23 25 wp.blocks.unregisterBlockVariation('core/embed', embed.name ); 24 26 } … … 37 39 }); 38 40 39 /* Remove Inline Footnote insert edin block toolbar if Footnote block is hidden */40 if( mrwEditorOptions.hiddenBlocks.indexOf( 'core/footnotes' ) ) {41 /* Remove Inline Footnote insert in block toolbar if Footnote block is hidden */ 42 if( mrwEditorOptions.hiddenBlocks.indexOf( 'core/footnotes' ) ) { 41 43 wp.richText.unregisterFormatType( 'core/footnote' ); 42 44 } 43 if( mrwEditorOptions.hiddenSettings.indexOf('highlight' ) ) { 44 wp.richText.unregisterFormatType( 'core/text-color'); 45 46 /* Remove other inline formatting options */ 47 if( -1 < mrwEditorOptions.hiddenSettings.indexOf( 'highlight' ) ) { 48 wp.richText.unregisterFormatType( 'core/text-color' ); 45 49 } 46 if( mrwEditorOptions.hiddenSettings.indexOf('inline-image' ) ) { 50 51 if( -1 < mrwEditorOptions.hiddenSettings.indexOf( 'inline-image' ) ) { 47 52 wp.richText.unregisterFormatType( 'core/image' ); 48 53 } 49 if( mrwEditorOptions.hiddenSettings.indexOf('inline-code' ) ) { 54 55 if( -1 < mrwEditorOptions.hiddenSettings.indexOf( 'inline-code' ) ) { 50 56 wp.richText.unregisterFormatType( 'core/code' ); 51 57 } 52 if( mrwEditorOptions.hiddenSettings.indexOf('keyboard' ) ) { 58 59 if( -1 < mrwEditorOptions.hiddenSettings.indexOf( 'keyboard' ) ) { 53 60 wp.richText.unregisterFormatType( 'core/keyboard' ); 54 61 } -
mrw-web-design-simple-tinymce/trunk/mrwweb-simple-tinymce.php
r2988726 r3003951 4 4 * Plugin URI: https://MRWweb.com/wordpress-plugins/mrw-web-design-simple-tinymce/ 5 5 * Description: Streamlines the WordPress editor to focus users on consistent formatting and semantic content. 6 * Version: 2.12. 06 * Version: 2.12. 7 7 * Author: Mark Root-Wiley 8 8 * Author URI: https://MRWweb.com -
mrw-web-design-simple-tinymce/trunk/readme.txt
r2988726 r3003951 5 5 Requires PHP: 5.6.20 6 6 Tested up to: 6.4 7 Stable tag: 2.12. 07 Stable tag: 2.12. 8 8 Donate link: https://www.paypal.me/rootwiley 9 9 License: GPLv3 or later … … 78 78 79 79 == Changelog == 80 81 82 80 83 = 2.12.0 (November 3, 2023) = 81 84 - WordPress 6.4 compatibility … … 104 107 105 108 == Upgrade Notice == 106 = 2.12. 0=107 * WP 6.4 Compatibility + hide various inline formats and placeholder options109 = 2.12. = 110 * WP 6.4 Compatibility + hide various inline formats and placeholder options
Note: See TracChangeset
for help on using the changeset viewer.