From c78ced21b6fd7de0595ffcaba74e98ed4a502f1e Mon Sep 17 00:00:00 2001 From: iseulde Date: Tue, 12 Mar 2019 14:21:06 +0100 Subject: [PATCH 1/2] Use for strikethrough, not --- packages/format-library/src/strikethrough/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/format-library/src/strikethrough/index.js b/packages/format-library/src/strikethrough/index.js index 636b1b1d9122ca..244fc513143e2c 100644 --- a/packages/format-library/src/strikethrough/index.js +++ b/packages/format-library/src/strikethrough/index.js @@ -11,7 +11,7 @@ const name = 'core/strikethrough'; export const strikethrough = { name, title: __( 'Strikethrough' ), - tagName: 'del', + tagName: 's', className: null, edit( { isActive, value, onChange } ) { const onToggle = () => onChange( toggleFormat( value, { type: name } ) ); From ad1a5f2acd96135cd9be57efe8c0b68a760962ed Mon Sep 17 00:00:00 2001 From: iseulde Date: Tue, 12 Mar 2019 15:03:38 +0100 Subject: [PATCH 2/2] Update e2e test --- packages/e2e-tests/specs/__snapshots__/rich-text.test.js.snap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/e2e-tests/specs/__snapshots__/rich-text.test.js.snap b/packages/e2e-tests/specs/__snapshots__/rich-text.test.js.snap index b408c3acfc60d6..f5c79ddbd33ac5 100644 --- a/packages/e2e-tests/specs/__snapshots__/rich-text.test.js.snap +++ b/packages/e2e-tests/specs/__snapshots__/rich-text.test.js.snap @@ -8,7 +8,7 @@ exports[`RichText should apply formatting when selection is collapsed 1`] = ` exports[`RichText should apply formatting with access shortcut 1`] = ` " -

test

+

test

" `;