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

Added command execution examples to manual test.

Szymon Kupś 8 лет назад
Родитель
Сommit
cf2e03bc9a
1 измененных файлов с 10 добавлено и 1 удалено
  1. 10 1
      packages/ckeditor5-highlight/tests/manual/highlight.md

+ 10 - 1
packages/ckeditor5-highlight/tests/manual/highlight.md

@@ -6,4 +6,13 @@
 
 You should be able to:
 - see different markers class
-- manually invoke highlight command in console
+- manually invoke highlight command in console:
+
+```
+editor.execute( 'highlight', { class: 'marker' } );
+editor.execute( 'highlight', { class: 'marker-green' } );
+editor.execute( 'highlight', { class: 'marker-pink' } );
+	
+editor.execute( 'highlight', { class: 'pen-red' } );
+editor.execute( 'highlight', { class: 'pen-blue' } );	 
+```