Ticket #37278: 37278.2.diff
File 37278.2.diff, 1.7 KB (added by , 7 years ago) |
---|
-
src/wp-includes/class-wp-editor.php
600 600 $mce_buttons = apply_filters( 'teeny_mce_buttons', array('bold', 'italic', 'underline', 'blockquote', 'strikethrough', 'bullist', 'numlist', 'alignleft', 'aligncenter', 'alignright', 'undo', 'redo', 'link', 'unlink', 'fullscreen'), $editor_id ); 601 601 $mce_buttons_2 = $mce_buttons_3 = $mce_buttons_4 = array(); 602 602 } else { 603 $mce_buttons = array( 'bold', 'italic', 'strikethrough', 'bullist', 'numlist', 'blockquote', 'hr', 'alignleft', 'aligncenter', 'alignright', 'link', ' unlink', 'wp_more', 'spellchecker' );603 $mce_buttons = array( 'bold', 'italic', 'strikethrough', 'bullist', 'numlist', 'blockquote', 'hr', 'alignleft', 'aligncenter', 'alignright', 'link', 'wp_more', 'spellchecker' ); 604 604 605 605 if ( ! wp_is_mobile() ) { 606 606 if ( $set['_content_editor_dfw'] ) { -
src/wp-includes/js/tinymce/plugins/wplink/plugin.js
555 555 556 556 editor.addButton( 'wp_link_edit', { 557 557 tooltip: 'Edit ', // trailing space is needed, used for context 558 icon: 'dashicon dashicons- edit',558 icon: 'dashicon dashicons-admin-links', 559 559 cmd: 'WP_Link' 560 560 } ); 561 561 562 562 editor.addButton( 'wp_link_remove', { 563 563 tooltip: 'Remove', 564 icon: 'dashicon dashicons- no',564 icon: 'dashicon dashicons-editor-unlink', 565 565 cmd: 'wp_unlink' 566 566 } ); 567 567