Преглед изворни кода

Internal: Italic feature uses <i> now. [skip ci]

Piotrek Koszuliński пре 8 година
родитељ
комит
2272c7afae

+ 2 - 2
packages/ckeditor5-essentials/tests/article.js

@@ -64,7 +64,7 @@ describe( 'Article preset', () => {
 		const data =
 		const data =
 			'<h2>Heading 1</h2>' +
 			'<h2>Heading 1</h2>' +
 			'<p>Paragraph</p>' +
 			'<p>Paragraph</p>' +
-			'<p><strong>Bold</strong> <em>Italic</em> <a href="foo">Link</a></p>' +
+			'<p><strong>Bold</strong> <i>Italic</i> <a href="foo">Link</a></p>' +
 			'<ul>' +
 			'<ul>' +
 				'<li>UL List item 1</li>' +
 				'<li>UL List item 1</li>' +
 				'<li>UL List item 2</li>' +
 				'<li>UL List item 2</li>' +
@@ -86,7 +86,7 @@ describe( 'Article preset', () => {
 		const expectedOutput =
 		const expectedOutput =
 			'<h2>Heading 1</h2>' +
 			'<h2>Heading 1</h2>' +
 			'<p>Paragraph</p>' +
 			'<p>Paragraph</p>' +
-			'<p><strong>Bold</strong> <em>Italic</em> <a href="foo">Link</a></p>' +
+			'<p><strong>Bold</strong> <i>Italic</i> <a href="foo">Link</a></p>' +
 			'<ul>' +
 			'<ul>' +
 				'<li>UL List item 1</li>' +
 				'<li>UL List item 1</li>' +
 				'<li>UL List item 2</li>' +
 				'<li>UL List item 2</li>' +

+ 1 - 1
packages/ckeditor5-essentials/tests/manual/article.html

@@ -1,7 +1,7 @@
 <div id="editor">
 <div id="editor">
 	<h2>Heading 1</h2>
 	<h2>Heading 1</h2>
 	<p>Paragraph</p>
 	<p>Paragraph</p>
-	<p><strong>Bold</strong> <em>Italic</em> <a href="foo">Link</a></p>
+	<p><strong>Bold</strong> <i>Italic</i> <a href="foo">Link</a></p>
 	<ul>
 	<ul>
 		<li>UL List item 1</li>
 		<li>UL List item 1</li>
 		<li>UL List item 2</li>
 		<li>UL List item 2</li>