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

Update link decorator manual test.

Maciej Gołaszewski 6 лет назад
Родитель
Сommit
506058b434

+ 1 - 1
packages/ckeditor5-link/tests/manual/linkdecorator.html

@@ -10,7 +10,7 @@
 
 <h2>Automatic decorators</h2>
 <div id="editor2">
-	<p>This is <a href="http://ckeditor.com">CKEditor5</a> from <a href="http://cksource.com">CKSource</a>.</p>
+	<p>This is <a href="http://ckeditor.com" target="_blank" rel="noopener noreferrer" download="download">CKEditor5</a> from <a href="http://cksource.com">CKSource</a>.</p>
 	<p>This is <a href="//ckeditor.com">CKEditor5</a> as schemaless url.</p>
 	<p>This is <a href="#anchor">anchor</a> on this page.</p>
 	<p>This is some random <a href="ftp://127.0.0.1">ftp address</a>.</p>

+ 9 - 9
packages/ckeditor5-link/tests/manual/linkdecorator.md

@@ -5,14 +5,14 @@
 1. Should be available for every link.
 2. Should be applied to the content only when "Save" was clicked.
 3. There should be initially set some decorators over specific links based on source data of the editor:
-  * `CKEditor5` has: "Open in a new window"
-  * `CKSource` has: "Open in a new window" and "Downloadable"
-  * `CKEditor5` (schemaless) has: "Gallery"
-  * `ftp address` has: "Downloadable"
+    * `CKEditor5` has: "Open in a new tab"
+    * `CKSource` has: "Open in a new tab" and "Downloadable"
+    * `CKEditor5` (schemaless) has: "Gallery"
+    * `ftp address` has: "Downloadable"
 4. There should be 3 manual decorators available:
-  * Open in new a new tab
-  * Downloadable
-  * Gallery link
+    * Open in new a new tab
+    * Downloadable
+    * Gallery link
 5. State of the decorator switches should reflect the model of the currently selected link.
 6. Switch buttons should be focusable (with the tab key), after the URL input. The "save" and "cancel" buttons should be focused last.
 
@@ -22,5 +22,5 @@
 2. There should be no changes to the model or the view of the editors.
 3. Decorator data should be added during downcast (run `window.editors.automaticDecorators.getData()` to see how it works).
 4. There are 2 additional decorators in this editor:
-  * phone, which detects all links starting with `tel:` and adds the `phone` CSS class to such link,
-  * internal, which adds the `internal` CSS class to all links starting with `#`.
+    * phone, which detects all links starting with `tel:` and adds the `phone` CSS class to such link,
+    * internal, which adds the `internal` CSS class to all links starting with `#`.