8
0
Просмотр исходного кода

Tests: Highlights are no longer removed by remove format - reflect that in the tests.

Marek Lewandowski 6 лет назад
Родитель
Сommit
3da2ec7c7b

+ 1 - 1
packages/ckeditor5-remove-format/tests/manual/removeformat.html

@@ -5,7 +5,7 @@
 		,
 		,
 		<em>emphasize</em>
 		<em>emphasize</em>
 		and some
 		and some
-		<mark class="pen-red">text marked red</mark>
+		<u>underline</u>
 		.
 		.
 	</p>
 	</p>
 
 

+ 2 - 3
packages/ckeditor5-remove-format/tests/manual/removeformat.js

@@ -15,7 +15,6 @@ import Typing from '@ckeditor/ckeditor5-typing/src/typing';
 import Undo from '@ckeditor/ckeditor5-undo/src/undo';
 import Undo from '@ckeditor/ckeditor5-undo/src/undo';
 import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
 import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
 import ShiftEnter from '@ckeditor/ckeditor5-enter/src/shiftenter';
 import ShiftEnter from '@ckeditor/ckeditor5-enter/src/shiftenter';
-import Highlight from '@ckeditor/ckeditor5-highlight/src/highlight';
 import Image from '@ckeditor/ckeditor5-image/src/image';
 import Image from '@ckeditor/ckeditor5-image/src/image';
 import ImageCaption from '@ckeditor/ckeditor5-image/src/imagecaption';
 import ImageCaption from '@ckeditor/ckeditor5-image/src/imagecaption';
 import ImageToolbar from '@ckeditor/ckeditor5-image/src/imagetoolbar';
 import ImageToolbar from '@ckeditor/ckeditor5-image/src/imagetoolbar';
@@ -27,10 +26,10 @@ import Underline from '@ckeditor/ckeditor5-basic-styles/src/underline';
 ClassicEditor
 ClassicEditor
 	.create( global.document.querySelector( '#editor' ), {
 	.create( global.document.querySelector( '#editor' ), {
 		plugins: [
 		plugins: [
-			Bold, Clipboard, Enter, Highlight, Italic, Link, Paragraph, RemoveFormat, ShiftEnter, Typing,
+			Bold, Clipboard, Enter, Italic, Link, Paragraph, RemoveFormat, ShiftEnter, Typing,
 			Underline, Undo, Image, Image, ImageCaption, ImageToolbar
 			Underline, Undo, Image, Image, ImageCaption, ImageToolbar
 		],
 		],
-		toolbar: [ 'removeFormat', '|', 'italic', 'bold', 'link', 'underline', 'highlight', '|', 'undo', 'redo' ]
+		toolbar: [ 'removeFormat', '|', 'italic', 'bold', 'link', 'underline', '|', 'undo', 'redo' ]
 	} )
 	} )
 	.then( editor => {
 	.then( editor => {
 		window.editor = editor;
 		window.editor = editor;

+ 1 - 1
packages/ckeditor5-remove-format/tests/manual/removeformat.md

@@ -4,7 +4,7 @@ Select the content and press the "Remove Format" button in the toolbar.
 
 
 ## Things to consider
 ## Things to consider
 
 
-* Bold, emphasize, underline, and highlight should be removed.
+* Bold, emphasize and underline should be removed.
 * Links **must not** be removed.
 * Links **must not** be removed.
 * Try to remove some formatting from an image caption by creating a selection containing the entire widget.
 * Try to remove some formatting from an image caption by creating a selection containing the entire widget.
 * The button should be disabled if your selection doesn't contain any formatting that might be removed.
 * The button should be disabled if your selection doesn't contain any formatting that might be removed.