From a563c5de8566329166366c1cc5e4aba1dee5e814 Mon Sep 17 00:00:00 2001 From: Ceyhun Ozugur Date: Thu, 8 Apr 2021 18:41:33 +0200 Subject: [PATCH] Use the default div tagName on native --- packages/block-library/src/quote/edit.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/block-library/src/quote/edit.js b/packages/block-library/src/quote/edit.js index 5c5cf69239bbf..ff0a8ac76d1a9 100644 --- a/packages/block-library/src/quote/edit.js +++ b/packages/block-library/src/quote/edit.js @@ -15,6 +15,9 @@ import { } from '@wordpress/block-editor'; import { BlockQuotation } from '@wordpress/components'; import { createBlock } from '@wordpress/blocks'; +import { Platform } from '@wordpress/element'; + +const isWebPlatform = Platform.OS === 'web'; export default function QuoteEdit( { attributes, @@ -82,7 +85,7 @@ export default function QuoteEdit( { { ( ! RichText.isEmpty( citation ) || isSelected ) && (